{"id":"CVE-2026-89407","title":"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…","summary":"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…","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-400","CWE-1333"],"vendor":"FasterXML","product":"com.fasterxml.jackson.core:jackson-core","affected":["com.fasterxml.jackson.core:jackson-core >= 2.17.0 <= 2.18.10","com.fasterxml.jackson.core:jackson-core >= 2.19.0 <= 2.21.6","com.fasterxml.jackson.core:jackson-core >= 2.22.0 <= 2.22.2","tools.jackson.core:jackson-core >= 3.0.0 <= 3.1.6","tools.jackson.core:jackson-core >= 3.2.0 <= 3.2.1"],"published":"2026-09-22","updated":"2026-09-22","sourceUpdated":"2026-09-22T20:00:03.713","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-89407","references":[{"url":"https://github.com/FasterXML/jackson-core/issues/1649","label":"36c7be3b-2937-45df-85ea-ca7133ea542c"},{"url":"https://github.com/FasterXML/jackson-core/pull/1650","label":"36c7be3b-2937-45df-85ea-ca7133ea542c"},{"url":"https://github.com/FasterXML/jackson-core/pull/1701","label":"36c7be3b-2937-45df-85ea-ca7133ea542c"},{"url":"https://github.com/FasterXML/jackson-core/security/advisories/GHSA-p6pp-m3f8-5c89","label":"36c7be3b-2937-45df-85ea-ca7133ea542c"},{"url":"https://github.com/FasterXML/jackson-core/security/advisories/GHSA-p6pp-m3f8-5c89","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89407.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-89407"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2538720"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89407"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89407"},{"url":"https://github.com/FasterXML/jackson-core/commit/731e794f62623aa0d86ced52490166be903fbb1d"},{"url":"https://github.com/FasterXML/jackson-core/commit/e7acd64cc99bd346704423dc2bfea1ab0a08ddff"},{"url":"https://github.com/advisories/GHSA-p6pp-m3f8-5c89"},{"url":"https://access.redhat.com/errata/RHSA-2026:83082"},{"url":"https://access.redhat.com/errata/RHSA-2026:83520"},{"url":"https://access.redhat.com/errata/RHSA-2026:86706"}],"tags":["nvd","cve.org","exploit-available","csaf","vex","red-hat","ghsa","maven"],"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-22T15:52:15.349840Z"},"ingestedAt":"2026-09-22T15:05:01.076Z","epss":0.00628,"epssPercentile":0.49877,"scores":{"nvd":7.5,"vendor":5.9,"ghsa":7.5},"aliases":["GHSA-p6pp-m3f8-5c89"],"ecosystem":"maven","patched":["com.fasterxml.jackson.core:jackson-core 2.18.11","com.fasterxml.jackson.core:jackson-core 2.21.7","com.fasterxml.jackson.core:jackson-core 2.22.3","tools.jackson.core:jackson-core 3.1.7","tools.jackson.core:jackson-core 3.2.2"],"slug":"CVE-2026-89407","body":"## Overview\n\nNumberInput.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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Exploit Intelligence, OpenShift Developer Tools and Services, OpenShift Serverless, Red Hat AI Inference Server, Red Hat AMQ Broker 7, Red Hat build of Apache Camel - HawtIO 4, … · no fix planned: Red Hat AI Inference Server, Red Hat Enterprise Linux AI (RHEL AI) 3, Red Hat JBoss Enterprise Application Platform 7, Red Hat OpenShift AI (RHOAI), … · updated 2026-10-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89407.json)\n- **RHSA-2026:83082** · Red Hat · fixed in: Red Hat build of Quarkus 3.27.6.redhat · released 2026-10-15 · [advisory](https://access.redhat.com/errata/RHSA-2026:83082)\n- **RHSA-2026:83520** · Red Hat · fixed in: Red Hat build of Quarkus 3.33.4.redhat · released 2026-10-15 · [advisory](https://access.redhat.com/errata/RHSA-2026:83520)\n- **RHSA-2026:86706** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9) · released 2026-10-21 · [advisory](https://access.redhat.com/errata/RHSA-2026:86706)\n\n## Package advisory (CVE-2026-89407)\n\nAffected packages:\n\n- `com.fasterxml.jackson.core:jackson-core >= 2.17.0, <= 2.18.10`\n- `com.fasterxml.jackson.core:jackson-core >= 2.19.0, <= 2.21.6`\n- `com.fasterxml.jackson.core:jackson-core >= 2.22.0, <= 2.22.2`\n- `tools.jackson.core:jackson-core >= 3.0.0, <= 3.1.6`\n- `tools.jackson.core:jackson-core >= 3.2.0, <= 3.2.1`\n\nPatched in:\n\n- `com.fasterxml.jackson.core:jackson-core 2.18.11`\n- `com.fasterxml.jackson.core:jackson-core 2.21.7`\n- `com.fasterxml.jackson.core:jackson-core 2.22.3`\n- `tools.jackson.core:jackson-core 3.1.7`\n- `tools.jackson.core:jackson-core 3.2.2`\n\nSource: https://github.com/advisories/GHSA-p6pp-m3f8-5c89","depth":"midnight","depthScore":53,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[{"seq":209114,"id":"CVE-2026-89407","ts":1790093203690,"field":"exploit_available","old":"false","new":"true"}]}