Vulnerability · Published Feb 6, 2026 · Assigned by GitHub_M
CVE-2026-25727time affected by a stack exhaustion denial of service attack
Medium 6.8
In plain English
A medium-severity stack buffer overflow in time from time-rs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rust-time | 0.3.9-1+deb12u1 | DEBIAN-CVE-2026-25727 |
| Debian:13 | rust-time | 0.3.37-1+deb13u1 | DEBIAN-CVE-2026-25727 |
| Debian:14 | rust-time | 0.3.47-1 | DEBIAN-CVE-2026-25727 |
| Ubuntu:22.04:LTS | rust-time | no fix listed | UBUNTU-CVE-2026-25727 |
| Ubuntu:24.04:LTS | rust-time | no fix listed | UBUNTU-CVE-2026-25727 |
| Ubuntu:25.10 | rust-time | no fix listed | UBUNTU-CVE-2026-25727 |
| Ubuntu:26.04:LTS | rust-time | no fix listed | UBUNTU-CVE-2026-25727 |
Affected products (as reported)
Weakness: CWE-121 · 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
References
- https://github.com/time-rs/time/security/advisories/GHSA-r6v5-fh4h-64xc x_refsource_CONFIRM
- https://github.com/time-rs/time/commit/1c63dc7985b8fa26bd8c689423cc56b7a03841ee x_refsource_MISC
- https://github.com/time-rs/time/blob/main/CHANGELOG.md#0347-2026-02-05 x_refsource_MISC
- https://github.com/time-rs/time/releases/tag/v0.3.47 x_refsource_MISC