CVE-2026-133421 Details
Description
Validating an untrusted ISO 8601 duration string into a timedelta field with Pydantic V1 takes quadratic time: an input of a few dozen kilobytes takes seconds to validate. The iso8601_duration_re regular expression used to parse ISO 8601 durations (in pydantic/datetime_parse.py) contains an unescaped ".", which also matches digits. On a string of digits, the repeated groups overlap and the regex engine backtracks in quadratic time. The issue was fixed in commit 62791e66a9f8f118e465ed760c9e2ede9ae3055e. Users relying on the pydantic.v1 namespace in Pydantic V2 should upgrade to 2.14.2 or later. Impact: denial of service through validation of untrusted input. Affected are applications validating untrusted strings into timedelta fields.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No CVSS 3.x data is available for this CVE.
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 20, 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.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/pydantic/pydantic/blob/v1.10.26/pydantic/datetime_parse.py#L45 | 7cec5f2f-3032-4006-8740-31f605ffab5f | |
| https://github.com/pydantic/pydantic/commit/62791e66a9f8f118e465ed760c9e2ede9ae3055e | 7cec5f2f-3032-4006-8740-31f605ffab5f | |
| https://github.com/pydantic/pydantic/releases/tag/v2.14.2 | 7cec5f2f-3032-4006-8740-31f605ffab5f | |
| https://github.com/pydantic/pydantic/security/advisories/GHSA-jfv7-ghgv-gx4x | 7cec5f2f-3032-4006-8740-31f605ffab5f |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | 7cec5f2f-3032-4006-8740-31f605ffab5f |
Affected Products
No affected product data is available for this CVE.
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 20, 2026 | CVE Modified | CISA-ADP |
| Nov 20, 2026 | New CVE Received | 7cec5f2f-3032-4006-8740-31f605ffab5f |