CVE-2026-89407

Source
https://cve.org/CVERecord?id=CVE-2026-89407
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89407.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-89407
Aliases
  • GHSA-p6pp-m3f8-5c89
Downstream
Published
2026-09-22T14:53:20Z
Modified
2026-09-24T03:47:06Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
jackson-core: quadratic backtracking in NumberInput.PATTERN_FLOAT via looksLikeValidNumber() enables ReDoS
Details

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). 

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.

Database specific
{
    "cna_assigner":  "HeroDevs",
    "cwe_ids":  [
        "CWE-1333",
        "CWE-400"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89407.json"
}
References

Affected packages

Git / github.com/fasterxml/jackson-core

Affected ranges

Type
GIT
Repo
https://github.com/fasterxml/jackson-core
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "2.17.0"
        }
    ],
    "source":  "DESCRIPTION"
}

Affected versions

jackson-core-2.*
jackson-core-2.0.0
jackson-core-2.0.1
jackson-core-2.0.2
jackson-core-2.10.0
jackson-core-2.10.0.pr1
jackson-core-2.10.0.pr2
jackson-core-2.10.0.pr3
jackson-core-2.11.0
jackson-core-2.11.0.rc1
jackson-core-2.12.0
jackson-core-2.12.0-rc1
jackson-core-2.12.0-rc2
jackson-core-2.12.1
jackson-core-2.13.0
jackson-core-2.13.0-rc1
jackson-core-2.13.0-rc2
jackson-core-2.14.0
jackson-core-2.14.0-rc1
jackson-core-2.14.0-rc2
jackson-core-2.14.0-rc3
jackson-core-2.15.0
jackson-core-2.15.0-rc1
jackson-core-2.15.0-rc2
jackson-core-2.15.0-rc3
jackson-core-2.16.0
jackson-core-2.16.0-rc1
jackson-core-2.17.0-rc1
jackson-core-2.2.0-rc1
jackson-core-2.2.0b
jackson-core-2.2.1
jackson-core-2.2.2
jackson-core-2.3.0
jackson-core-2.3.0-rc1
jackson-core-2.4.0
jackson-core-2.4.0-rc1
jackson-core-2.4.0-rc2
jackson-core-2.4.0-rc3
jackson-core-2.4.1
jackson-core-2.4.1.1
jackson-core-2.5.0
jackson-core-2.5.0-rc1
jackson-core-2.6.0
jackson-core-2.6.0-rc1
jackson-core-2.6.0-rc2
jackson-core-2.6.0-rc3
jackson-core-2.6.0-rc4
jackson-core-2.6.1
jackson-core-2.7.0
jackson-core-2.7.0-rc1
jackson-core-2.7.0-rc2
jackson-core-2.7.0-rc3
jackson-core-2.7.1
jackson-core-2.7.2
jackson-core-2.7.3
jackson-core-2.7.3b
jackson-core-2.8.0
jackson-core-2.8.1
jackson-core-2.8.2
jackson-core-2.9.0
jackson-core-2.9.0.pr1
jackson-core-2.9.0.pr2
jackson-core-2.9.0.pr3
jackson-core-2.9.0.pr4
jackson-core-2.9.1
jackson-core-2.9.2
jackson-core-2.9.3
jackson-core-2.9.4
jackson-core-2.9.5
jackson-core-2.9.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89407.json"