Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-133421
Published:November 20, 2026
Updated:November 23, 2026
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.
Affected Packages
pydantic (CONDA):
Affected version(s) >=0.18.1 <1.10.27 || >=1.0 <1.10.27
Fix Suggestion:
Update to version 1.10.27
pydantic (CONDA):
Affected version(s) >=2.0 <2.14.2
Fix Suggestion:
Update to version 2.14.2
https://github.com/pydantic/pydantic.git (GITHUB):
Affected version(s) >=v2.0b1 <v2.14.2
Fix Suggestion:
Update to version v2.14.2
https://github.com/pydantic/pydantic.git (GITHUB):
Affected version(s) >=v0.0.2 <v1.10.27 || >=v1.0b1 <v1.10.27
Fix Suggestion:
Update to version v1.10.27
pydantic (PYTHON):
Affected version(s) >=2.0b1 <2.14.2
Fix Suggestion:
Update to version 2.14.2
pydantic (PYTHON):
Affected version(s) >=0.0.2 <1.10.27 || >=1.0b1 <1.10.27
Fix Suggestion:
Update to version 1.10.27
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Inefficient Regular Expression Complexity
EPSS
Base Score:
0.82