llamaCVEVulnerability Intelligence
/
Pydantic

CVE-2026-133426

Pydantic denial of service in Fraction exponent validation

An unauthenticated remote attacker can tie up the process with a few-byte string sent to a Fraction field.

Texto original en inglés · Ver en español

Parche disponibledenial of service
Descargar PNG JSON
CVSS 4.0
6.3
Media
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 Fuente: CNA
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -43 d de la divulgación
Exposición1 dDesde la divulgación, 20 nov 2026, 2:32 a. m.
Detección10 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Nivel de alerta: llama mascando hierba.Agenda, parchea y celebra con un mate.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 2.14.0
Monitoreo
Detectada +2
8 oct 26
20 nov 26
21 nov 26
8 oct 26
19 oct 26
30 oct 26
10 nov 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 2.14.0 pydantic · -43 d desde divulgación
Divulgación Publicada CVE-2026-133426 divulgada · CVSS 6.3 (CNA)
Monitoreo Detectada Ingresó al índice
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 20 nov 2026

Pydantic's validation of untrusted strings in exponent notation for Fraction fields computes an unbounded power of ten, which can cause denial of service. A remote attacker can trigger it without logging in by sending a string of only a few bytes, which takes seconds to validate.

Descripción original del registro (Pydantic)

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.

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:L
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
7.1/ 10Alto
Vector 7.1 (fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
pydantic≥ 2.10.0 < 2.14.0
2.10.0
2.14.0
2.14.4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypipydantic
Corregida 2.14.0 -43 d 2.14.4 no afectada
Versiones corregidas2.14.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/pydantic/pydantic/security/advisories/GHSA-gj4f-r7mf-jjxh
Otrahttps://github.com/python/cpython/blob/v3.14.8/Lib/fractions.py#L275-L281
Otrahttps://github.com/pydantic/pydantic/commit/69ed168e9ad465eef4c8d81efb152a93b604daf5

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.