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

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 (280 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, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: crates.io (1).

PackageEcosystemAffectedFixed In
gix-date
crates.io
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. 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

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

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

Related CVEs

  • CVE-2026-102821
    MEDIUM

    Russh: Unbounded memory exhaustion via CHANNEL_OPEN flood during a client-stalled rekey

  • CVE-2026-102820
    MEDIUM

    pageant: Out-of-bounds read / oversized allocation in `pageant` MemoryMap::read via a malicious Pageant agent (Windows)

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies