GHSA-8rgq-m2pm-jvmg: Duplicate Advisory Gix-date Can Create Non-utf8 String Vulnerability
MODERATEGHSA-8rgq-m2pm-jvmg is a MODERATE gix-date can create non-utf8 string vulnerability (CWE-787: Out-of-bounds Write) affecting Duplicate Advisory libraries in the crates.io ecosystem. The issue involves gix-date can create non-utf8 string with `timebuf::as_str`. Remediation is available by upgrading affected packages to version 0.12.0.
GHSA-8rgq-m2pm-jvmg at a Glance
How to Fix GHSA-8rgq-m2pm-jvmg
To remediate this vulnerability, upgrade all affected Duplicate Advisory 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 GHSA-8rgq-m2pm-jvmg, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for gix-date
Analyze the terminal output to locate any version of Duplicate Advisory 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 Duplicate Advisory, 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
GHSA-8rgq-m2pm-jvmg Affected Duplicate Advisory 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 GHSA-8rgq-m2pm-jvmg?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-8rgq-m2pm-jvmg?
Is gix-date affected?
What CWE is associated with GHSA-8rgq-m2pm-jvmg?
How can I check crates.io dependencies for GHSA-8rgq-m2pm-jvmg?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8rgq-m2pm-jvmg",
"modified" : "2026-01-27T22:22:40Z",
"published" : "2026-01-26T21:30:36Z",
"withdrawn" : "2026-01-27T22:22:39Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: gix-date can create non-utf8 string with `TimeBuf::as_str`",
"details" : "### Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-6mw6-mj76-grwc. This link is maintained to preserve external references.\n\n### Original Description\nA flaw was found in gix-date. The `gix_date::parse::TimeBuf::as_str` function can generate strings containing invalid non-UTF8 characters. This issue violates the internal safety invariants of the `TimeBuf` component, leading to undefined behavior when these malformed strings are subsequently processed. This could potentially result in application instability or other unforeseen consequences.",
"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://access.redhat.com/security/cve/CVE-2026-0810"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2427057"
}, {
"type" : "WEB",
"url" : "https://crates.io/crates/gix-date"
}, {
"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-27T22:22:39Z",
"nvd_published_at" : "2026-01-26T20:16:09Z"
}
}