{"id":"CVE-2026-25727","published":"2026-02-06T19:20:56Z","modified":"2026-02-06T20:22:58Z","title":"time affected by a stack exhaustion denial of service attack","vendor":"time-rs","product":"time","tier":"tail","description":{"text":"time provides date and time handling in Rust. From 0.3.6 to before 0.3.47, when user-provided input is provided to any type that parses with the RFC 2822 format, a denial of service attack via stack exhaustion is possible. The attack relies on formally deprecated and rarely-used features that are part of the RFC 2822 format used in a malicious manner. Ordinary, non-malicious input will never encounter this scenario. A limit to the depth of recursion was added in v0.3.47. From this version, an error will be returned rather than exhausting the stack.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00522,"percentile":0.37614,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://github.com/time-rs/time/security/advisories/GHSA-r6v5-fh4h-64xc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/time-rs/time/commit/1c63dc7985b8fa26bd8c689423cc56b7a03841ee","tags":["x_refsource_MISC"]},{"url":"https://github.com/time-rs/time/blob/main/CHANGELOG.md#0347-2026-02-05","tags":["x_refsource_MISC"]},{"url":"https://github.com/time-rs/time/releases/tag/v0.3.47","tags":["x_refsource_MISC"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":7.52},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"time-rs","affectedVersions":[{"vendor":"time-rs","product":"time","versions":[">= 0.3.6, < 0.3.47"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-06T20:22:34.026090Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"time","vulnerableRanges":[">=0.3.6, <0.3.47"],"patched":["0.3.47"],"from":["GHSA-r6v5-fh4h-64xc","RUSTSEC-2026-0009"],"provenance":"source"}],"summary":{"text":"The time crate for Rust (product \"time\", vendor time-rs) contains a flaw in its RFC 2822 parsing, where versions from 0.3.6 up to but not including 0.3.47 are affected when user-provided input is passed to any type that parses that format. An attacker who can supply such input over the network, with low privileges and requiring user interaction, can crafted input built from deprecated, rarely-used RFC 2822 features to exhaust the stack and cause a denial of service; ordinary input does not trigger it, and version 0.3.47 mitigates it by returning an error once recursion depth is exceeded.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:33Z"},"euvd":{"id":"EUVD-2026-5587","exploited":false,"provenance":"source"}}