NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Rust (crates.io)

CVE-2026-0810: gix-date can create non-utf8 string with `TimeBuf::as_str`

mediumCVSS 4.0 5.5GHSA-6mw6-mj76-grwc

The function gixdate::parse::TimeBuf::asstr 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::fromutf8 to the function TimeBuf::write.

Published Jan 5, 2026 · Updated Jan 27, 2026

Affected packages

gix-date

Ecosystem
Rust (crates.io)
Affected
< 0.12.0
Fixed in
0.12.0
Check
cargo tree -i gix-date

Advisory details

From the GitHub Advisory Database (CC BY 4.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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology