CVE-2026-89407
Reported by herodevs · Published September 22, 2026
jackson-core is fixed in 2.22.3, 2.22.2, 2.21.7 and 3 more (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| com.fasterxml.jackson.core:jackson-core | Maven Central | 2.22.3, 2.22.2, 2.21.7, 2.21.6, 2.18.11, 2.18.10 |
| drain-cleaner-fips | Chainguard | 1.6.1-r6 |
| cassandra-reaper | Wolfi | 5.0.1-r5 |
| kayenta-fips-2026.1 | Chainguard | 2026.1.8-r1 |
| idm-pki-java | errata.rockylinux.org | 0:11.9.0-9.el10_3.1.rocky.0.1.noarch, 0:11.9.0-6.el10_2.1.rocky.0.1.noarch |
| opensearch-3 | Wolfi | 3.9.0-r1 |
| apache-nifi-2.12 | Chainguard | 2.12.0-r3 |
| logstash-fips-9.4 | Chainguard | 9.4.8-r2, 9.4.8-r0, 9.4.7-r4 |
| idm-pki-tools-debuginfo | errata.rockylinux.org | 0:11.9.0-9.el10_3.1.rocky.0.1.ppc64le, 0:11.9.0-9.el10_3.1.rocky.0.1.aarch64, 0:11.9.0-6.el10_2.1.rocky.0.1.ppc64le, 0:11.9.0-6.el10_2.1.rocky.0.1.aarch64 |
| celeborn-0.7 | Chainguard | 0.7.0-r14 |
| strimzi-kafka-oauth | Wolfi | 0.18.0-r4 |
| cassandra-fips-4.1 | Chainguard | 4.1.12-r4 |
71 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FasterXML | jackson-core | 2.17.0, 2.19.0, 2.22.0 |
| FasterXML | jackson-core | 3.0.0, 3.2.0 |
| chainguard | drain-cleaner-fips | 0 |
| wolfi | cassandra-reaper | 0 |
| chainguard | kayenta-fips-2026.1 | 0 |
| wolfi | opensearch-3 | 0 |
| chainguard | apache-nifi-2.12 | 0 |
| chainguard | logstash-fips-9.4 | 0, 0, 0 |
| chainguard | celeborn-0.7 | 0 |
| Maven | com.fasterxml.jackson.core:jackson-core | 2.22.0, 2.17.0, 2.19.0 |
| wolfi | strimzi-kafka-oauth | 0 |
| chainguard | cassandra-fips-4.1 | 0 |
| chainguard | kafka-bridge-fips | 0 |
| chainguard | s3proxy | 0 |
| chainguard | thingsboard | 0 |
| chainguard | apache-pulsar-fips-4.0 | 0 |
| chainguard | camunda-8.10 | 0 |
| chainguard | solr-9 | 0 |
| chainguard | metabase | 0 |
| chainguard | jenkins-2.568 | 0 |
…and 167 more
Timeline
- Sep 22, 2026 CVE Published
- Sep 23, 2026 EPSS Score (24 in total, the first dated here)
- Sep 25, 2026 CVE Updated
- Oct 16, 2026 Distribution Patch (11 in total, the first dated here)
- Oct 16, 2026 Security Advisory (9 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-89407
vulnetix vdb fixes CVE-2026-89407
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89407/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GHSA-p6pp-m3f8-5c89 vendor-advisory
- FasterXML/jackson-core#1649 issue-tracking
- FasterXML/jackson-core#1650 patch
- FasterXML/jackson-core#1701 (2.18 backport) patch
- https://nvd.nist.gov/vuln/detail/CVE-2026-89407 advisory
- https://github.com/advisories/GHSA-p6pp-m3f8-5c89 advisory
- https://github.com/FasterXML/jackson-core/commit/731e794f62623aa0d86ced52490166be903fbb1d patch
- https://github.com/FasterXML/jackson-core/commit/e7acd64cc99bd346704423dc2bfea1ab0a08ddff patch