RUSTSEC-2026-0184
Not scored
Potential undefined behavior with Signature from a buffer-created BlameHunk
- Severity
- Not scored
- Published
- Last changed
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| git2 (crates.io) | from 0.0.0-0 before 0.21.0 | RustSec Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| RustSec Advisory Database | RUSTSEC-2026-0184 changed 2026-06-17 | CC0-1.0 |