Security mailing lists by PureSourceCode

RUSTSEC-2026-0184

not scored yet

Potential undefined behavior with Signature from a buffer-created BlameHunk

When a Blame is created via Blame::blame_buffer(), and a BlameHunk is retrieved, the pointers to the original author, original committer, final author, and final committer may be null if unavailable. The corresponding BlameHunk methods then create Signatures based on null pointers; attempting to access the data of the Signatures leads to dereferencing null pointers.

Published
13 May 2026
Last modified
17 Jun 2026
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io git2 >= 0.0.0-0, < 0.21.0 0.21.0

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.