time affected by a stack exhaustion denial of service attack
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-25727
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 06:13 UTC · Revision 1
Source evidence
time affected by a stack exhaustion denial of service attack
core-osv · Original sourcePublished 6 Feb 2026, 19:20 UTC
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.
osv:CVE-2026-25727
Complete source record
{
"id": "9cdbb47d99a62353a1ac67c96613187de59ada71de018a6290b0c9b8355712a0",
"url": "https://osv.dev/vulnerability/CVE-2026-25727",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "time affected by a stack exhaustion denial of service attack",
"summary": "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.",
"evidence": "osv:CVE-2026-25727",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-25727",
"aliases": [
"CVE-2026-25727",
"GHSA-r6v5-fh4h-64xc",
"RUSTSEC-2026-0009"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/time-rs/time",
"type": "GIT",
"events": [
{
"introduced": "3ff454351155515b4e4cc15fda8db46eec3ef706"
},
{
"fixed": "d5144cd2874862d46466c900910cd8577d066019"
},
{
"fixed": "1c63dc7985b8fa26bd8c689423cc56b7a03841ee"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:time_project:time:*:*:*:*:*:rust:*:*",
"range": [
{
"introduced": "0.3.6"
},
{
"fixed": "0.3.47"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "1c63dc7985b8fa26bd8c689423cc56b7a03841ee"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "d5144cd2874862d46466c900910cd8577d066019"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.3.47"
}
]
}
}
],
"versions": [
"v0.3.46",
"v0.3.45",
"v0.3.44",
"v0.3.43",
"v0.3.42",
"v0.3.41",
"v0.3.40",
"v0.3.39",
"v0.3.38",
"v0.3.37",
"v0.3.36",
"v0.3.35",
"v0.3.34",
"v0.3.33",
"v0.3.32",
"v0.3.31",
"v0.3.30",
"v0.3.29",
"v0.3.28",
"v0.3.27",
"v0.3.26",
"v0.3.25",
"v0.3.24",
"v0.3.23",
"v0.3.22",
"v0.3.21",
"v0.3.20",
"v0.3.19",
"v0.3.18",
"v0.3.17",
"v0.3.16",
"v0.3.15",
"v0.3.14",
"v0.3.13",
"v0.3.12",
"v0.3.11",
"v0.3.10",
"v0.3.9",
"v0.3.7",
"v0.3.6"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25727.json"
}
}
],
"modified": "2026-10-28T02:30:26.178831315Z",
"provider": "osv",
"references": [
"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",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25727.json",
"https://github.com/time-rs/time/security/advisories/GHSA-r6v5-fh4h-64xc",
"https://nvd.nist.gov/vuln/detail/CVE-2026-25727",
"https://github.com/time-rs/time/commit/1c63dc7985b8fa26bd8c689423cc56b7a03841ee"
],
"provider_metadata": {
"cwe_ids": [
"CWE-121"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25727.json"
}
},
"related_cves": [
{
"value": "CVE-2026-25727",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492972,
"published_at": "2026-02-06T19:20:56.298+00:00"
}