Read the docs

Unbounded exponent in Pydantic Fraction validation

Priority LOW 29CWE-400Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 18 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-400.

Summary

Pydantic from 2.10.0 before 2.14.0 is affected. Validating an untrusted exponent-notation string into a Fraction field computes the full power of ten without any bound (CWE-400). An unauthenticated remote attacker can send a short input that takes seconds to validate, causing denial of service.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00507 36th percentileScored 2026-11-30
Fix Partial pydantic (pydantic): 2.14.0Red Hat: 18 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
pydanticpydantic2.10.0 to before 2.14.02.14.0Patch availableCNA
  • pydantic Vendorpydantic Affected 2.10.0 to before 2.14.0 Fixed in 2.14.0 Patch available CNA

Remediation

Upgrade pydantic to 2.14.0. Red Hat lists Ansible Automation Orchestrator 2026, Exploit Intelligence, Lightspeed Core, Lightspeed Services for Advanced Cluster Management, Migration Toolkit for Applications 8, and other products as affected with no available plan.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

  • Fix · CNA pydantic (pydantic) Fixed in 2.14.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    pydantic 2.14.0

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

    • TI-2026-95643 Quadratic time and memory use in pydantic multi-host URL validationPriority LOW 29

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Ansible Automation Orchestrator 2026AffectedNo fix yet: Fix deferred
Exploit IntelligenceAffectedNo fix yet: Fix deferred
Lightspeed CoreAffectedNo fix yet: Fix deferred
Lightspeed Services for Advanced Cluster ManagementAffectedNo fix yet: Fix deferred
Migration Toolkit for Applications 8AffectedNo fix yet: Fix deferred
OpenShift LightspeedAffectedNo fix yet: Fix deferred
Red Hat AI Inference ServerAffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix yet: Fix deferred
Red Hat Discovery 2AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux command line assistantAffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat OpenShift Virtualization 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Virtualization 5AffectedNo fix yet: Fix deferred
Red Hat Satellite 6AffectedNo fix yet: Fix deferred
Red Hat Trusted Artifact SignerAffectedNo fix yet: Fix deferred

Timeline

  1. 2026-11-20 Threatist record created from CVE-2026-133426
  2. 2026-11-20 Affected versions changed · Red Hat
  3. 2026-11-20 CVSS score added · Red Hat
  4. 2026-11-20 CISA SSVC decision points changed
  5. 2026-11-25 EPSS moved to the below the 50th percentile

References

  • TI-2024-03518 Regular expression denial of service in Pydantic < 2.4.0 CVSS 3.1HIGH 7.5
  • TI-2026-57990 HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers CVSS 3.1MEDIUM 5.3
  • TI-2026-41916 Path traversal in pydantic-settings CVSS 3.1MEDIUM 5.3
  • TI-2026-20687 Pydantic AI Affected by Server-Side Request Forgery (SSRF) in URL Download Handling CVSS 3.1HIGH 8.6
  • TI-2026-69551 Pydantic AI keeps concurrency slots after streams end early CVSS 3.1HIGH 7.5
  • TI-2026-57993 HTTPX2: Streaming response decompression does not bound peak memory (decompression amplification) CVSS 3.1HIGH 7.5
See all 35 →

Sources