PT-2026-50497
Published
2026-05-12
·
Updated
2026-05-12
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾