Vulnerability RUSTSEC-2026-0183

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
5 months ago
May 12, 2026 at 12:00 PM UTC
Potential undefined behavior when calling Remote::list()
0.0.1 - 0.20.4
0.0.1 - 0.20.4

Summary

Potential undefined behavior when calling Remote::list()

Details

When calling Remote::list() for a remote of a git repository, when that remote does not advertise any references, git2 passes a null pointer to the unsafe function slice::from_raw_parts(). Based on the safety section documentation of function, data must be non-null even for slices of length zero. Thus, the use of a null pointer leads to undefined behavior.

Impacted packages

Timeline

Published
5 months ago
May 12, 2026 at 12:00 PM UTC
Fixed (0.21.0)
4 months ago
May 18, 2026 at 04:06 PM UTC
Last Modified
3 months ago
June 17, 2026 at 01:00 PM UTC