CVE-2026-89407
NumberInput.looksLikeValidNumber() in FasterXML jackson-core pre-validates "stringified numbers" with two regular expressions: PATTERN_FLOAT ([+-]?[0-9]*[\.]?[0-9]+([eE][+-]?[0-9]+)?), present since 2.17.0, and PATTERN_FLOAT_TRAILING_DOT, added in 2.17.2. PATTERN_FLOAT places adjacent quantifiers over the same character class -- an optional [0-9]* run, an optional dot, then a required [0-9]+ run -- so input that ultimately fails to match forces Java's backtracking engine to retry every possible split point of the digit run.
Matching cost therefore grows with the square of the input length.
An attacker who can supply JSON that an application deserializes into a numeric target type reaches this method through jackson-databind's default String-to-number coercion (StdDeserializer and NumberDeserializers for BigDecimal, BigInteger, Double and Float).
Leer descripción completaMostrar menos
Because StreamReadConstraints.maxStringLength defaults to 20,000,000 characters, no constraint bounds the input before it reaches the regex.
Testing by the reporter confirmed O(n^2) growth across five consecutive input-size doublings, with a single 160,000-character string consuming roughly 74 seconds in one call; a small number of concurrent requests of ordinary body size can therefore exhaust a server's request-handling thread pool.
The affected method does not exist before 2.17.0, so 2.16.x and earlier releases are not affected.
The fix replaces both regular expressions with a hand-rolled single-pass scan.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Puntuación base: 7.5
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.55%
- Percentil entre todas las CVEs puntuadas: 44
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
🎯 Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1190Exploit Public-Facing Applicationinitial access95 % - Impacto principal
T1499.004Application or System Exploitationimpact90 %
Aplicación expuesta (AV:N sin autenticación) vulnerable a DoS mediante JSON malformado. Regex catastrófica en validación de números causa O(n²), agotando thread pool con strings grandes.
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
🛡️ Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
CWE
- CWE-400, CWE-1333
Referencias
- https://github.com/FasterXML/jackson-core/issues/1649
- https://github.com/FasterXML/jackson-core/pull/1650
- https://github.com/FasterXML/jackson-core/pull/1701
- https://github.com/FasterXML/jackson-core/security/advisories/GHSA-p6pp-m3f8-5c89
- https://github.com/FasterXML/jackson-core/security/advisories/GHSA-p6pp-m3f8-5c89
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-89407",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-89407",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-09-22T15:52:15.349840Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "36c7be3b-2937-45df-85ea-ca7133ea542c",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "36c7be3b-2937-45df-85ea-ca7133ea542c",
"affectedData": [
{
"repo": "https://github.com/FasterXML/jackson-core",
"vendor": "FasterXML",
"product": "jackson-core",
"versions": [
{
"status": "affected",
"version": "2.17.0",
"versionType": "maven",
"lessThanOrEqual": "2.18.10"
},
{
"status": "affected",
"version": "2.19.0",
"versionType": "maven",
"lessThanOrEqual": "2.21.6"
},
{
"status": "affected",
"version": "2.22.0",
"versionType": "maven",
"lessThanOrEqual": "2.22.2"
}
],
"packageName": "com.fasterxml.jackson.core:jackson-core",
"collectionURL": "https://repo1.maven.org/maven2",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "com.fasterxml.jackson.core.io.NumberInput.looksLikeValidNumber"
}
]
},
{
"repo": "https://github.com/FasterXML/jackson-core",
"vendor": "FasterXML",
"product": "jackson-core",
"versions": [
{
"status": "affected",
"version": "3.0.0",
"versionType": "maven",
"lessThanOrEqual": "3.1.6"
},
{
"status": "affected",
"version": "3.2.0",
"versionType": "maven",
"lessThanOrEqual": "3.2.1"
}
],
"packageName": "tools.jackson.core:jackson-core",
"collectionURL": "https://repo1.maven.org/maven2",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "tools.jackson.core.io.NumberInput.looksLikeValidNumber"
}
]
}
]
}
],
"published": "2026-09-22T15:17:21.053",
"references": [
{
"url": "https://github.com/FasterXML/jackson-core/issues/1649",
"source": "36c7be3b-2937-45df-85ea-ca7133ea542c"
},
{
"url": "https://github.com/FasterXML/jackson-core/pull/1650",
"source": "36c7be3b-2937-45df-85ea-ca7133ea542c"
},
{
"url": "https://github.com/FasterXML/jackson-core/pull/1701",
"source": "36c7be3b-2937-45df-85ea-ca7133ea542c"
},
{
"url": "https://github.com/FasterXML/jackson-core/security/advisories/GHSA-p6pp-m3f8-5c89",
"source": "36c7be3b-2937-45df-85ea-ca7133ea542c"
},
{
"url": "https://github.com/FasterXML/jackson-core/security/advisories/GHSA-p6pp-m3f8-5c89",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
],
"vulnStatus": "Deferred",
"weaknesses": [
{
"type": "Secondary",
"source": "36c7be3b-2937-45df-85ea-ca7133ea542c",
"description": [
{
"lang": "en",
"value": "CWE-400"
},
{
"lang": "en",
"value": "CWE-1333"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "NumberInput.looksLikeValidNumber() in FasterXML jackson-core pre-validates \"stringified numbers\" with two regular expressions: PATTERN_FLOAT ([+-]?[0-9]*[\\.]?[0-9]+([eE][+-]?[0-9]+)?), present since 2.17.0, and PATTERN_FLOAT_TRAILING_DOT, added in 2.17.2. PATTERN_FLOAT places adjacent quantifiers over the same character class -- an optional [0-9]* run, an optional dot, then a required [0-9]+ run -- so input that ultimately fails to match forces Java's backtracking engine to retry every possible split point of the digit run. \n\n\n\nMatching cost therefore grows with the square of the input length. \n\n\n\nAn attacker who can supply JSON that an application deserializes into a numeric target type reaches this method through jackson-databind's default String-to-number coercion (StdDeserializer and NumberDeserializers for BigDecimal, BigInteger, Double and Float). \n\n\n\nBecause StreamReadConstraints.maxStringLength defaults to 20,000,000 characters, no constraint bounds the input before it reaches the regex. \n\n\n\nTesting by the reporter confirmed O(n^2) growth across five consecutive input-size doublings, with a single 160,000-character string consuming roughly 74 seconds in one call; a small number of concurrent requests of ordinary body size can therefore exhaust a server's request-handling thread pool. \n\n\n\nThe affected method does not exist before 2.17.0, so 2.16.x and earlier releases are not affected. \n\n\n\nThe fix replaces both regular expressions with a hand-rolled single-pass scan."
}
],
"lastModified": "2026-09-22T20:00:03.713",
"sourceIdentifier": "36c7be3b-2937-45df-85ea-ca7133ea542c"
}