Skip to main content
CVE-2026-133421VulnerabilityPublished Updated

Validating an untrusted ISO 8601 duration string into a timedelta field with Pydantic V1 takes quadratic time: an

Affects pydanticSource GCVE Database

0
Compare
Authoritative record:CVE-2026-133421· Medium 6.9

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

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (Pydantic)CVSS 4.06.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 24.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=nobleOther threatsAffected
  • =1.10.4-1ubuntu1
  • =1.10.13-0ubuntu1
  • =1.10.14-1
Fixed in–
Ubuntu Pro 22.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=esm-apps/jammyOther threatsAffected
  • =1.7.4-1
  • =1.8.2-1
  • =1.8.2-1ubuntu0.1~esm1
Fixed in–
Ubuntu Pro 20.04 LTSpydanticpkg:deb/ubuntu/pydantic?arch=source&distro=esm-apps/focalOther threatsAffected
  • 0.30.1-1 – 1.2-1ubuntu0.1~esm3
4 affected builds
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

Community reviews

Loading reviews…