PT-2026-152727
CVE-2026-133421
·
Published
2026-11-20
·
Updated
2026-11-20
Description by
CVSS 4.0
6.9
MediumMetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Pydantic versions prior to 2.14.2
Description
Validating untrusted ISO 8601 duration strings into a timedelta field using Pydantic V1 can lead to a denial of service. The
iso8601 duration re regular expression in pydantic/datetime parse.py contains an unescaped . character that matches digits. When processing a string of digits, repeated groups overlap, causing the regex engine to backtrack in quadratic time, which significantly slows down validation for inputs of a few dozen kilobytes.Recommendations
Upgrade to version 2.14.2 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾