Validating an untrusted ISO 8601 duration string into a timedelta field with Pydantic V1 takes quadratic time: an
Affects pydanticSource GCVE Database
Not known to be exploited · CVSS 6.9 Medium · fixed in 2.14.2 : update pydantic when convenient.
Data as of 25 Nov 2026, 23:37 UTC
Thin evidence
One scorer or none| CNA (Pydantic) | CVSS 4.0 | 6.9 |
|---|
- Patch
- Available – fixed in 2.14.2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should upgrade to Pydantic V2 version 2.14.2 or later, where the issue is fixed. Applications relying on the pydantic.v1 namespace in Pydantic V2 should also upgrade accordingly. No other mitigations are specified by the vendor advisory.
Description
Pydantic V1 has a vulnerability where validating untrusted ISO 8601 duration strings into timedelta fields can cause quadratic time complexity, leading to denial of service. This is due to an unescaped dot in a regular expression that causes excessive backtracking on digit strings. The issue was fixed in Pydantic V2 starting from version 2.14.2. Applications using affected versions of Pydantic V1 that validate untrusted input are vulnerable.
References
- ubuntu.com/security/CVE-2026-133421 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-133421 (opens in a new tab)
- github.com/pydantic/pydantic/security/advisories/GHSA-jfv7-ghgv-gx4x (opens in a new tab)
- github.com/pydantic/pydantic/commit/62791e66a9f8f118e465ed760c9e2ede9ae3055e (opens in a new tab)
- github.com/pydantic/pydantic/blob/v1.10.26/pydantic/datetime_parse.py (opens in a new tab)
- github.com/pydantic/pydantic/releases/tag/v2.14.2 (opens in a new tab)