CVE-2026-25727: time · Stack-based Buffer Overflow
Affects timeSource CVE Database V5
Not known to be exploited · CVSS 6.8 Medium : upgrade to 0.3.47 when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.3.47
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 6 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade time to 0.3.47.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| time-rstime | Affected
| Fixed in
|
crates.iotimepkg:cargo/timeOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate this vulnerability, European organizations should immediately upgrade the 'time' crate to version 0.3.47 or later, where the recursion depth limit has been implemented to prevent stack exhaustion. Additionally, organizations should audit their codebases and dependencies to identify any usage of the affected versions of the 'time' crate, especially in components that parse RFC 2822 date/time inputs. Input validation and sanitization should be enhanced to detect and reject malformed or suspicious date strings that could trigger the vulnerability. Implementing runtime monitoring to detect abnormal stack usage or application crashes related to date parsing can provide early warning signs of exploitation attempts. For critical systems, consider applying application-layer firewalls or input filtering to block malformed inputs before they reach vulnerable components. Finally, maintain awareness of updates from the Rust community and CVE databases for any emerging exploits or patches.
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.
References
- github.com/time-rs/time/security/advisories/GHSA-r6v5-fh4h-64xc (opens in a new tab)
- github.com/time-rs/time/commit/1c63dc7985b8fa26bd8c689423cc56b7a03841ee (opens in a new tab)
- github.com/time-rs/time/blob/main/CHANGELOG.md (opens in a new tab)
- github.com/time-rs/time/releases/tag/v0.3.47 (opens in a new tab)