Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.
Resumen
CVE-2026-137581: vulnerabilidad de severidad alta (CVSS 8.2) en web-token jwt-library.
Qué ocurre
Descripción original de la fuente (en inglés): web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6, and jwt-encryption and jwt-signature through 3.2.10, contain a denial of service vulnerability because the JWS and JWE serializers pass attacker-controlled tokens and protected headers to json_decode() without bounds before verification. Unauthenticated attackers can submit large tokens with colliding header member names or deeply nested arrays to cause quadratic decoding time or fatal memory exhaustion.
Por qué importa
Severidad alta, CVSS 8.2.
Productos y versiones afectados
web-token jwt-library < 3.4.13; web-token jwt-library 3.4.13 (corregido en 3.4.13); web-token jwt-library >= 4.0.0, < 4.0.9; web-token jwt-library 4.0.9 (corregido en 4.0.9); web-token jwt-library >= 4.1.0, < 4.1.11; web-token jwt-library 4.1.11 (corregido en 4.1.11); web-token jwt-library >= 4.2.0, < 4.2.6; web-token jwt-library 4.2.6 (corregido en 4.2.6); web-token jwt-framework < 3.4.13; web-token jwt-framework 3.4.13 (corregido en 3.4.13); web-token jwt-framework >= 4.0.0, < 4.0.9; web-token jwt-framework 4.0.9 (corregido en 4.0.9)
| Producto | Versiones | Corregido en |
|---|---|---|
| web-token jwt-library | < 3.4.13 | — |
| web-token jwt-library | 3.4.13 | 3.4.13 |
| web-token jwt-library | >= 4.0.0, < 4.0.9 | — |
| web-token jwt-library | 4.0.9 | 4.0.9 |
| web-token jwt-library | >= 4.1.0, < 4.1.11 | — |
| web-token jwt-library | 4.1.11 | 4.1.11 |
| web-token jwt-library | >= 4.2.0, < 4.2.6 | — |
| web-token jwt-library | 4.2.6 | 4.2.6 |
| web-token jwt-framework | < 3.4.13 | — |
| web-token jwt-framework | 3.4.13 | 3.4.13 |
| web-token jwt-framework | >= 4.0.0, < 4.0.9 | — |
| web-token jwt-framework | 4.0.9 | 4.0.9 |
| web-token jwt-framework | >= 4.1.0, < 4.1.11 | — |
| web-token jwt-framework | 4.1.11 | 4.1.11 |
| web-token jwt-framework | >= 4.2.0, < 4.2.6 | — |
| web-token jwt-framework | 4.2.6 | 4.2.6 |
| web-token jwt-signature | <= 3.2.10 | — |
| web-token jwt-encryption | <= 3.2.10 | — |
Acción recomendada por la fuente
Actualizar a una versión corregida: 3.4.13, 4.0.9, 4.1.11, 4.2.6.
Corregido en: 3.4.13, 4.0.9, 4.1.11, 4.2.6
Fuentes y referencias
- https://github.com/web-token/jwt-framework/security/advisories/GHSA-2xq2-pp89-x7fr — CVE Program
- https://www.vulncheck.com/advisories/web-token-jwt-framework-before-3.4.13-denial-of-service-via-unbounded-json-decoding — CVE Program
Debilidades (CWE): CWE-407
Historial de cambios relevantes
Publicado
Aviso preliminar publicado.