CVE-2026-0810 — Vulnerability in gix-date — CVE Details
gix-date can create non-utf8 string with `TimeBuf::as_str`
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.23%). Schedule for your next planned update.
Does your project use an affected gix-date version?
Paste your Cargo.lock to check it for CVE-2026-0810 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published January 5, 2026 (325 days ago).
- Last revised September 10, 2026 — 247 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p gix-date --precise 0.12.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: crates.io (1).
| Package | Fixed In |
|---|---|
| gix-date crates.io · Affected: All versions | 0.12.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-787Out-of-bounds WriteMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.7 score means for each attack dimension.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-0810ADVISORY
- https://github.com/GitoxideLabs/gitoxide/issues/2305WEB
- https://github.com/GitoxideLabs/gitoxide/pull/2306WEB
- https://github.com/GitoxideLabs/gitoxide/commit/76376ef5e97c63e108db0c9fe2eb096f4bfe70f7WEB
- https://access.redhat.com/security/cve/CVE-2026-0810WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2427057WEB
- https://github.com/GitoxideLabs/gitoxidePACKAGE
- https://rustsec.org/advisories/RUSTSEC-2025-0140.htmlWEB
Frequently Asked Questions
- What is CVE-2026-0810?
- gix-date can create non-utf8 string with `TimeBuf::as_str`. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 7.7/10).
- How do I check if my project is affected by CVE-2026-0810?
- CVE-2026-0810 affects gix-date. It has a 0.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-0810 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 8.4% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-115906MEDIUM
zip: AES Entry HMAC Authentication Bypass on Premature EOF
- CVE-2026-35374MEDIUM
split: TOCTOU output-open allows truncating a swapped file