CVE-2026-25727
MEDIUM 6.8CVSS 4.0time vulnerable to stack exhaustion Denial of Service attack
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.
- Published
- 6 Feb 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-121
- Also known as
- GHSA-r6v5-fh4h-64xcRUSTSEC-2026-0009
- Sources
- NVDJSONOSV GHSA-r6v5-fh4h-64xcJSONOSV RUSTSEC-2026-0009JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.8 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | RustSec | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | time_project | timecpe:2.3:a:time_project:time:*:*:*:*:*:rust:*:* |
>= 0.3.6, < 0.3.47 | 0.3.47 |
| OSV | crates.io | time | >= 0.3.6, < 0.3.47 | 0.3.47 |
References
- https://github.com/time-rs/time/blob/main/CHANGELOG.md#0347-2026-02-05 · Release Notes, WEB
- https://github.com/time-rs/time/commit/1c63dc7985b8fa26bd8c689423cc56b7a03841ee · Patch, WEB
- https://github.com/time-rs/time/releases/tag/v0.3.47 · Product, Release Notes, WEB
- https://github.com/time-rs/time/security/advisories/GHSA-r6v5-fh4h-64xc · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-25727 · ADVISORY
- https://github.com/time-rs/time · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0009.html · WEB, ADVISORY
- https://crates.io/crates/time · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 6 Feb 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Feb 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Feb 2026)