# CVE-2026-25727: time affected by a stack exhaustion denial of service attack

- Severity: Medium 6.8 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-02-05T12:00:00.000Z
- Modified: 2026-09-10T03:50:35.583Z
- Also known as: GHSA-r6v5-fh4h-64xc, RUSTSEC-2026-0009
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- time-rs time: >= 0.3.6, < 0.3.47
- time (crates.io): from 0.3.6 before 0.3.47
- time_project time: from 0.3.6 before 0.3.47

## Every score

- GitHub_M: CVSS:4.0 6.8 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- RustSec Advisory Database: 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: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/time-rs/time/security/advisories/GHSA-r6v5-fh4h-64xc> (vendor-advisory, web)
- <https://github.com/time-rs/time/commit/1c63dc7985b8fa26bd8c689423cc56b7a03841ee> (patch, web)
- <https://github.com/time-rs/time/blob/main/CHANGELOG.md#0347-2026-02-05> (release-notes, web)
- <https://github.com/time-rs/time/releases/tag/v0.3.47> (product, release-notes, 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> (advisory, web)
- <https://crates.io/crates/time> (package)

## Sources

- CVE List: [CVE-2026-25727](https://www.cve.org/CVERecord?id=CVE-2026-25727), CVE Terms of Use, modified 2026-02-06
- GitHub Advisory Database: [GHSA-r6v5-fh4h-64xc](https://github.com/advisories/GHSA-r6v5-fh4h-64xc), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2026-0009](https://rustsec.org/advisories/RUSTSEC-2026-0009.html), CC0-1.0, modified 2026-02-06
- NVD: [CVE-2026-25727](https://nvd.nist.gov/vuln/detail/CVE-2026-25727), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25727 · Whole record: https://cve.day/CVE-2026-25727.json · Rebuilt by cve.day 2026-11-25T22:59:13.574Z
