CVE-2026-0810: Gix date :as_str` Vulnerability
MODERATECVE-2026-0810 is a MODERATE :as_str` vulnerability (CWE-787: Out-of-bounds Write) affecting Gix date libraries in the crates.io ecosystem. The issue involves :as_str`. Remediation is available by upgrading affected packages to version 0.12.0.
CVE-2026-0810 at a Glance
How to Fix CVE-2026-0810
To remediate this vulnerability, upgrade all affected Gix date dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade gix-date to 0.12.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for gix-date
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-0810, inspect your project dependencies for Gix date:
inspect dependencies for gix-date
Analyze the terminal output to locate any version of Gix date in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.12.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-787: Out-of-bounds Write, where the product writes data past the end, or before the beginning, of the intended buffer. In Gix date, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-0810 Affected Gix date Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
gix-date
|
crates.io |
< 0.12.0
|
0.12.0
|
References
Frequently Asked Questions
What is CVE-2026-0810?
Which Gix date versions are affected?
What version fixes CVE-2026-0810?
Is gix-date affected?
What CWE is associated with CVE-2026-0810?
How can I check crates.io dependencies for CVE-2026-0810?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6mw6-mj76-grwc",
"modified" : "2026-01-27T22:23:11Z",
"published" : "2026-01-05T19:43:29Z",
"aliases" : [ "CVE-2026-0810" ],
"summary" : "gix-date can create non-utf8 string with `TimeBuf::as_str`",
"details" : "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.\n\nThe bug can be prevented by adding `str::from_utf8` to the function `TimeBuf::write`.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "gix-date"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.12.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-0810"
}, {
"type" : "WEB",
"url" : "https://github.com/GitoxideLabs/gitoxide/issues/2305"
}, {
"type" : "WEB",
"url" : "https://github.com/GitoxideLabs/gitoxide/pull/2306"
}, {
"type" : "WEB",
"url" : "https://github.com/GitoxideLabs/gitoxide/commit/76376ef5e97c63e108db0c9fe2eb096f4bfe70f7"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2026-0810"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2427057"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/GitoxideLabs/gitoxide"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2025-0140.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-787" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-05T19:43:29Z",
"nvd_published_at" : null
}
}