CVE-2026-133426
CVE-2026-133426 · Unbounded exponent in Fraction validation
CVSS 6.3 · Medium · EPSS 0.5% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- pydanticUpdate to 2.14.0
- pydantic Debian 13No fix published
- pydantic Debian 14Update to 2.14.0-1
- pydantic Ubuntu Pro 20.04 LTSNo fix published
- and 4 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="pydantic"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: system
Affected products and versions
pydantic
- Versions
- ≥ 2.10.0, < 2.14.0: Affected (python)
Update to 2.14.0
pydantic Debian 13
- Versions
- 2.10.6-2
- 2.12.0~a1-1
- 2.12.2-1
- 2.12.3-1
- 2.12.3-2
- 2.12.4-1
All versions (16)
- 2.12.5-1
- 2.12.5-2
- 2.13.3-1
- 2.13.4-1
- 2.13.4-3
- 2.13.4-4
- 2.13.5-1
- 2.13.5-2
- 2.14.0-1
- 2.14.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pydantic Debian 14
- Versions
- 2.10.6-2
- 2.12.0~a1-1
- 2.12.2-1
- 2.12.3-1
- 2.12.3-2
- 2.12.4-1
All versions (14)
- 2.12.5-1
- 2.12.5-2
- 2.13.3-1
- 2.13.4-1
- 2.13.4-3
- 2.13.4-4
- 2.13.5-1
- 2.13.5-2
- Affected ranges
- ECOSYSTEM: < 2.14.0-1
Update to 2.14.0-1
pydantic Ubuntu Pro 20.04 LTS
- Versions
- 0.30.1-1
- 1.2-1
- 1.2-1ubuntu0.1~esm1
- 1.2-1ubuntu0.1~esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pydantic Ubuntu Pro 22.04 LTS
- Versions
- 1.7.4-1
- 1.8.2-1
- 1.8.2-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pydantic Ubuntu 24.04 LTS
- Versions
- 1.10.4-1ubuntu1
- 1.10.13-0ubuntu1
- 1.10.14-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pydantic Ubuntu 26.10
- Versions
- 2.12.5-2
- 2.13.4-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pydantic Ubuntu 26.04 LTS
- Versions
- 2.10.6-2
- 2.12.5-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published