Description
A flaw was found in gix-date. The `gix_date::parse::TimeBuf::as_str` function can generate strings containing invalid non-UTF8 characters. This issue violates the internal safety invariants of the `TimeBuf` component, leading to undefined behavior when these malformed strings are subsequently processed. This could potentially result in application instability or other unforeseen consequences.
Problem types
Incorrect Calculation of Multi-Byte String Length
Product status
Any version before 0.12.0
Timeline
| 2026-01-04: | Reported to Red Hat. |
| 2025-12-29: | Made public. |
References
github.com/GitoxideLabs/gitoxide/issues/2305
access.redhat.com/security/cve/CVE-2026-0810
bugzilla.redhat.com/show_bug.cgi?id=2427057 (RHBZ#2427057)
github.com/GitoxideLabs/gitoxide/issues/2305
rustsec.org/advisories/RUSTSEC-2025-0140.html