CVE-2026-25727 Details
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.
A denial-of-service vulnerability has been identified in the time library for Rust, specifically in versions 0.3.6 prior to 0.3.47. The issue arises when user input is parsed using the RFC 2822 format, leading to stack exhaustion. This vulnerability exploits deprecated features of RFC 2822 in a malicious way, causing unbounded recursion. However, typical, non-malicious input would not trigger this problem. The vulnerability can be reproduced by providing carefully crafted input that takes advantage of these deprecated RFC 2822 features, causing the parser to enter a deep recursive loop that exhausts the stack.
The vulnerability has been patched in version 0.3.47 of the time library, which includes a limit on the depth of recursion when parsing RFC 2822. Users should update to this version to address the vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| time project time | >= 0.3.6, < 0.3.47 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 24, 2026 | Initial Analysis | [email protected] |
| Feb 6, 2026 | New CVE Received | [email protected] |