Skip to main content

CVE-2026-0810 — Vulnerability in gix-date — CVE Details

MEDIUM

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

Published January 5, 2026Updated September 10, 2026Source: OSV

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.

Check my Cargo.lock

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 gix-date to 0.12.0 or later
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).

PackageFixed In
gix-date crates.io · Affected: All versions0.12.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-787
    Out-of-bounds WriteMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.7 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

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

CVSS Score
7.7

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.23%
EPSS percentile: 8.4

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

GHSA-6mw6-mj76-grwc
RUSTSEC-2025-0140

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Cargo.lock