CVE-2026-59171
JSON-java denial of service in JSONTokener numeric parsing
A remote attacker without logging in can send a very long number to tie up CPU time and block request threads.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 20260719 | org.json:json · -110 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-59171 divulgada · CVSS 5.9 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
JSON-java, a Java library for parsing and generating JSON, is affected by a bug that lets a remote attacker, without logging in, send a very long numeric value that makes the parser spend excessive CPU time, which can block request-handling threads and cause denial of service. The flaw is in the JSON parser and the XML-to-JSON conversion path, and the library's strict mode and keep-strings settings do not prevent it.
Descripción original del registro (GitHub_M)
JSON-java is a reference implementation of a JSON package in Java. From version 20150729 through 20260522, JSONTokener.nextSimpleValue can accumulate unbounded numeric tokens before JSONObject.stringToNumber passes them to BigInteger or BigDecimal conversion without a length limit. An application that parses attacker-controlled JSON or XML through JSONObject, JSONArray, or XML.toJSONObject can spend super-linear CPU time converting a sufficiently long numeric literal, blocking request-handling threads and causing denial of service. Strict mode and keep-strings settings in JSONParserConfiguration do not prevent the affected conversion path. Version 20260719 limits numeric conversion length.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
mavenorg.json:json |
Corregida | 20260719 | -110 d | 20260814 no afectada |
20260719Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcvhttps://github.com/stleary/JSON-java/pull/1065https://github.com/stleary/JSON-java/pull/1067https://github.com/stleary/JSON-java/commit/703ac34a55400f9c50889e3d0c778b6d7962e81chttps://github.com/stleary/JSON-java/commit/ab92bb9088a37f9e346cd1dda66f6a3c40a201e0https://github.com/stleary/JSON-java/commit/fce83c91bb229dde472283dea648a9a8955237fdhttps://github.com/stleary/JSON-java/releases/tag/20260719Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
