Skip to main content
CVE-2026-25727VulnerabilityPublished

CVE-2026-25727: time · Stack-based Buffer Overflow

Affects timeSource CVE Database V5

0

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

CVSS 4.0 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
time-rstimeAffected
  • >=0.3.6 <0.3.47
Fixed in
  • 0.3.47
crates.iotimepkg:cargo/timeOther threatsAffected
  • <0.3.47 >=0.3.6
Fixed in
  • 0.3.47

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

Community reviews

Loading reviews…