{"id":"CVE-2026-0810","aliases":["DEBIAN-CVE-2026-0810","EUVD-2026-4669","GHSA-6mw6-mj76-grwc","RUSTSEC-2025-0140","UBUNTU-CVE-2026-0810"],"status":"published","title":"Gix-date: gix-date: undefined behavior due to invalid string generation","description":"A 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":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00211,"percentile":0.11408,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-135","CWE-682","CWE-787"],"published":"2025-12-29T12:00:00Z","modified":"2026-11-06T17:28:57Z","fixes":[{"ecosystem":"crates.io","package":"gix-date","fixed_in":["0.12.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"gix-date","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.0"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rust-gix-date","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.7-1","0.15.3-1","0.15.6-1","0.16.0-1","0.18.0-1","0.9.3-1","0.9.3-2"]},{"source":"osv","ecosystem":"Debian:14","package":"rust-gix-date","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.7-1","0.15.3-1","0.15.6-1","0.16.0-1","0.18.0-1","0.9.3-1","0.9.3-2"]},{"source":"osv","ecosystem":"crates.io","package":"gix-date","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.12.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"gix-date","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.12.0"}]}]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"rust-gix-date","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.0-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"rust-gix-date","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.3-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"rust-gix-date","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.7-1","0.15.6-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"rust-gix-date","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.3-1","0.9.3-2","0.10.7-1"]}],"products":[{"vendor":"gitoxidelabs","product":"gitoxide"},{"vendor":"gitoxidelabs","product":"gix-date"},{"vendor":"red hat","product":"logging subsystem for red hat openshift"},{"vendor":"red hat","product":"red hat enterprise linux 10"},{"vendor":"red hat","product":"red hat enterprise linux 8"},{"vendor":"red hat","product":"red hat enterprise linux 9"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-0810","tags":["vdb-entry","x_refsource_REDHAT","Third Party Advisory","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2427057","tags":["issue-tracking","x_refsource_REDHAT","Issue Tracking","report","web"]},{"url":"https://crates.io/crates/gix-date","tags":["Product","web","package"]},{"url":"https://github.com/GitoxideLabs/gitoxide/issues/2305","tags":["exploit","Exploit","Issue Tracking","report","web"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0140.html","tags":["Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/GitoxideLabs/gitoxide/pull/2306","tags":["web"]},{"url":"https://github.com/GitoxideLabs/gitoxide/commit/76376ef5e97c63e108db0c9fe2eb096f4bfe70f7","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0810","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6mw6-mj76-grwc"},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0810.json","tags":["advisory"]},{"url":"https://github.com/GitoxideLabs/gitoxide","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-0810","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-0810","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-0810","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-0810","title":"Gix-date: gix-date: undefined behavior due to invalid string generation","description":"A 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.","status":"published","published":"2026-01-26T19:36:45.705Z","modified":"2026-11-05T16:10:49.082Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-135"],"updated_at":"2026-11-05T17:53:58.265681Z"}],"euvd":[{"id":"EUVD-2026-4669","description":"A 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.","status":"published","published":"2026-01-26T19:36:45Z","modified":"2026-11-05T16:10:49Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-05T18:00:58.377138Z"}],"ghsa":[{"id":"GHSA-6mw6-mj76-grwc","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`.","status":"published","published":"2026-01-05T19:43:29Z","modified":"2026-01-27T22:23:11Z","cvss":[{"version":"4.0","score":5.5,"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","level":"medium"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:39:20.563096Z"}],"nvd":[{"id":"CVE-2026-0810","description":"A 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.","status":"published","published":"2026-01-26T20:16:09.6Z","modified":"2026-11-05T17:17:26.863Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-135","CWE-682"],"updated_at":"2026-11-05T19:55:53.17268Z"}],"osv":[{"id":"CVE-2026-0810","title":"Gix-date: gix-date: undefined behavior due to invalid string generation","description":"A 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.","status":"published","published":"2026-01-26T19:36:45.705Z","modified":"2026-11-07T02:30:39.155429858Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"cwes":["CWE-135"],"updated_at":"2026-11-07T03:07:59.125768Z"},{"id":"DEBIAN-CVE-2026-0810","description":"A 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.","status":"published","published":"2026-01-26T20:16:09.6Z","modified":"2026-11-06T17:28:57.926447637Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-06T18:00:26.717991Z"},{"id":"GHSA-6mw6-mj76-grwc","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`.","status":"published","published":"2026-01-05T19:43:29Z","modified":"2026-09-10T03:50:32.786550558Z","cvss":[{"version":"4.0","score":5.5,"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","level":"medium"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:46:39.965326Z"},{"id":"UBUNTU-CVE-2026-0810","description":"A 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.","status":"published","published":"2026-01-26T20:16:00Z","modified":"2026-10-17T12:57:49.183746742Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:58.519486Z"},{"id":"RUSTSEC-2025-0140","title":"Non-utf8 String can be created 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`.","status":"published","published":"2025-12-29T12:00:00Z","modified":"2026-03-04T07:42:48Z","updated_at":"2026-11-02T15:53:40.430679Z"}]}}
