Bug 2427057 (CVE-2026-0810, RUSTSEC-2025-0140) - CVE-2026-0810 gix-date: gix-date: Undefined behavior due to invalid string generation
Summary: CVE-2026-0810 gix-date: gix-date: Undefined behavior due to invalid string ge...
Keywords:
Status: NEW
Alias: CVE-2026-0810, RUSTSEC-2025-0140
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2430085 2430087 2430084 2430086
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-04 21:06 UTC by OSIDB Bzimport
Modified: 2026-01-15 18:39 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-01-04 21:06:46 UTC
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`.


Note You need to log in before you can comment on or make changes to this bug.