{"id":"CVE-2026-0810","aliases":["CVE-2026-0810","GHSA-6mw6-mj76-grwc","RUSTSEC-2025-0140"],"related":[],"kind":"vulnerability","state":"published","title":"Gix-date: gix-date: undefined behavior due to invalid string generation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se encontró un fallo en gix-date. La función 'gix_date::parse::TimeBuf::as_str' puede generar cadenas de caracteres que contienen caracteres no UTF-8 inválidos. Este problema viola las invariantes de seguridad internas del componente 'TimeBuf', lo que lleva a un comportamiento indefinido cuando estas cadenas de caracteres malformadas son procesadas posteriormente. Esto podría resultar potencialmente en inestabilidad de la aplicación u otras consecuencias imprevistas.","source":"nvd"}],"published":"2025-12-29T12:00:00.000Z","modified":"2026-11-24T10:17:35.653Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-135","CWE-682","CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.12.0","status":"affected"}],"vendor":"GitoxideLabs","product":"gitoxide","package":"gix-date","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","package":"openshift-logging/cluster-logging-operator-bundle","cpe":"cpe:/a:redhat:logging:5","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","package":"openshift-logging/cluster-logging-rhel9-operator","cpe":"cpe:/a:redhat:logging:5","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","package":"openshift-logging/eventrouter-rhel9","cpe":"cpe:/a:redhat:logging:5","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","package":"openshift-logging/fluentd-rhel9","cpe":"cpe:/a:redhat:logging:5","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","package":"openshift-logging/log-file-metric-exporter-rhel9","cpe":"cpe:/a:redhat:logging:5","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","package":"openshift-logging/logging-view-plugin-rhel9","cpe":"cpe:/a:redhat:logging:5","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","package":"openshift-logging/vector-rhel9","cpe":"cpe:/a:redhat:logging:5","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"rust","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"rust-toolset:rhel8/rust","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"rust","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.12.0"}],"ecosystem":"crates.io","package":"gix-date","purl":"pkg:cargo/gix-date","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.12.0"}],"ecosystem":"crates.io","package":"gix-date","purl":"pkg:cargo/gix-date","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.12.0"}],"vendor":"gitoxidelabs","product":"gix-date","cpe":"cpe:2.3:a:gitoxidelabs:gix-date:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-0810","tags":["third-party-advisory","vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2427057","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://crates.io/crates/gix-date","tags":["package","product"],"sources":["cvelist","rustsec","nvd"]},{"url":"https://github.com/GitoxideLabs/gitoxide/issues/2305","tags":["exploit","issue-tracking","report","web"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0140.html","tags":["advisory","third-party-advisory","web"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0810","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/GitoxideLabs/gitoxide/pull/2306","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/GitoxideLabs/gitoxide/commit/76376ef5e97c63e108db0c9fe2eb096f4bfe70f7","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/GitoxideLabs/gitoxide","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-03-04T19:05:14.997Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-0810","url":"https://www.cve.org/CVERecord?id=CVE-2026-0810","licence":"CVE Terms of Use","modified":"2026-11-24T09:52:06.470Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6mw6-mj76-grwc","url":"https://github.com/advisories/GHSA-6mw6-mj76-grwc","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:32.786Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2025-0140","url":"https://rustsec.org/advisories/RUSTSEC-2025-0140.html","licence":"CC0-1.0","modified":"2026-03-04T07:42:48.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-0810","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0810","licence":"Public domain","modified":"2026-11-24T10:17:35.653Z"}],"updatedAt":"2026-11-25T22:59:13.193Z","epss":{"score":0.00211,"percentile":0.12055,"date":"2026-12-01T12:00:22.000Z"}}