RUSTSEC-2025-0140

vendorUSosv

Non-utf8 String can be created with `TimeBuf::as_str`

view advisory published 2025-12-29Licence: CC0-1.0

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`.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-0810US——
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 i…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan