
Catalogue CVE
CVE-2026-133426
pydantic affected and fixed versions
Validating an untrusted string in exponent notation into a Fraction field computes the full power of ten without any bound: an input of a few bytes takes seconds to validate. String inputs are passed to the Fraction constructor. For strings in exponent notation (e.g. '1e8000000'), CPython computes the corresponding power of ten as an integer (in Lib/fractions.py). The issue was fixed in commit 69ed168e9ad465eef4c8d81efb152a93b604daf5. For strings in exponent notation, the exponent is now parsed before calling the Fraction constructor, and exponents larger than 4300 (in absolute value) are rejected. Impact: denial of service through validation of untrusted input. Affected are applications validating untrusted strings into Fraction fields (in both JSON and Python mode, including in strict mode), using Pydantic from 2.10.0 up to (but excluding) 2.14.0. From 2.14.0, exponents larger than 4300 (in absolute value) are rejected, matching the maximum number of digits accepted for integers.
- Gravité
- Medium · CVSS 4.0 · 6.3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.80% · Dec 4, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiansid | pydantic | 2.14.0-1 | FixedDistribution-reported fixed boundary | [CVE-2026-133426] |
| Debiansid | pydantic | 2.14.1-1 | Fixed | [CVE-2026-133426] |
| Debianforky | pydantic | 2.14.0-1 | FixedDistribution-reported fixed boundary | [CVE-2026-133426] |
| Debianforky | pydantic | 2.14.1-1 | Fixed | [CVE-2026-133426] |
More observations (14)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | pydantic | Not reported | Not affectedDistribution reports not affected | [CVE-2026-133426] |
| Debianbookworm | pydantic | 1.10.4-1+deb12u1 | Not affected | [CVE-2026-133426] |
| Debiantrixie | pydantic | Not reported | AffectedDistribution reports no fix | [CVE-2026-133426] |
| Debiantrixie | pydantic | 2.10.6-2 | Affected | [CVE-2026-133426] |
| Ubuntu24.04 | pydantic | 1.10.13-0ubuntu1 | Affected | [UBUNTU-CVE-2026-133426] |
| Ubuntu24.04 | pydantic | 1.10.14-1 | Affected | [UBUNTU-CVE-2026-133426] |
| Ubuntu24.04 | pydantic | 1.10.4-1ubuntu1 | Affected | [UBUNTU-CVE-2026-133426] |
| Ubuntu26.04 | pydantic | 2.10.6-2 | Affected | [UBUNTU-CVE-2026-133426] |
| Ubuntu26.04 | pydantic | 2.12.5-2 | Affected | [UBUNTU-CVE-2026-133426] |
| Ubuntu26.10 | pydantic | 2.12.5-2 | Affected | [UBUNTU-CVE-2026-133426] |
| Ubuntu26.10 | pydantic | 2.13.4-3 | Affected | [UBUNTU-CVE-2026-133426] |
| Ubuntupro | pydantic | 1.7.4-1 | Affected | [UBUNTU-CVE-2026-133426] |
| Ubuntupro | pydantic | 1.8.2-1 | Affected | [UBUNTU-CVE-2026-133426] |
| Ubuntupro | pydantic | 1.8.2-1ubuntu0.1~esm1 | Affected | [UBUNTU-CVE-2026-133426] |
Publisher notes
[trixie] pydantic: Minor issue
OpenFactory catalog packages
[Debian 13 (Trixie)]
- [python3-pydantic]Affectée
Paquet source: [pydantic]
Détails (2)
2.10.6-2· amd64 · trixieAffectée
pypi · pydantic · debian · 13
2.10.6-2· arm64 · trixieAffectée
pypi · pydantic · debian · 13
[Debian 12 (Bookworm)]
- [python3-pydantic]Non affectée
Paquet source: [pydantic]
Détails (2)
1.10.4-1+deb12u1· all · bookwormNon affectée
dsa · pydantic · debian · bookworm
1.10.4-1+deb12u1· all · bookwormNon affectée
dsa · pydantic · debian · bookworm
Observé:
Références
- [https://ftp.suse.com/pub/projects/security/]
- [https://github.com/pydantic/pydantic/commit/69ed168e9ad465eef4c8d81efb152a93b604daf5]
- [https://github.com/pydantic/pydantic/security/advisories/GHSA-gj4f-r7mf-jjxh]
- [https://github.com/python/cpython/blob/v3.14.8/Lib/fractions.py#L275-L281]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-133426]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-133426]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-133426]
- [https://security-tracker.debian.org/tracker/CVE-2026-133426]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-133426.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]