gix-date
Affected
- introduced
0, fixed0.12.0(semver)
Fixed versions
0.12.0
Fix
- Fixed version
0.12.0cargo update -p gix-date --precise 0.12.0
Advisory
Also known as: CVE-2026-0810, RUSTSEC-2025-0140
gix-date can create non-utf8 string with TimeBuf::as_str
The function gix_date::parse::TimeBuf::as_str can create an illegal string containing non-utf8 characters. This violates the safety invariant of TimeBuf and can lead to undefined behavior when consuming the string.
The bug can be prevented by adding str::from_utf8 to the function TimeBuf::write.
Medium Basis: The source's own band: MODERATE
0, fixed 0.12.0 (semver)0.12.0
0.12.0cargo update -p gix-date --precise 0.12.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0