{"id":"GHSA-6mw6-mj76-grwc","revision":"5c6b439030754325bec6ac02df3d7acf","records":[{"revision":"5c6b439030754325bec6ac02df3d7acf","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-6mw6-mj76-grwc","aliases":["CVE-2026-0810","RUSTSEC-2025-0140"],"title":"gix-date can create non-utf8 string with `TimeBuf::as_str`","description":"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`.","state":0,"publishedAt":"2026-01-05T19:43:29+00:00","modifiedAt":"2026-09-10T03:50:32.7865506+00:00","affected":[{"ecosystem":"crates.io","name":"gix-date","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.12.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-0810","https://github.com/GitoxideLabs/gitoxide/issues/2305","https://github.com/GitoxideLabs/gitoxide/pull/2306","https://github.com/GitoxideLabs/gitoxide/commit/76376ef5e97c63e108db0c9fe2eb096f4bfe70f7","https://access.redhat.com/security/cve/CVE-2026-0810","https://bugzilla.redhat.com/show_bug.cgi?id=2427057","https://github.com/GitoxideLabs/gitoxide","https://rustsec.org/advisories/RUSTSEC-2025-0140.html"],"sourceUrl":"https://github.com/advisories/GHSA-6mw6-mj76-grwc","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-6mw6-mj76-grwc","identifiers":["GHSA-6mw6-mj76-grwc","CVE-2026-0810","RUSTSEC-2025-0140"]},"retained":false,"historicalAffected":[]}],"coverage":[]}