Vulnerability · Published Sep 22, 2026 · Assigned by HeroDevs
CVE-2026-89407jackson-core: quadratic backtracking in NumberInput.PATTERN_FLOAT via looksLikeValidNumber() enables ReDoS
High 7.5
In plain English
A high-severity regular-expression denial of service in jackson-core from FasterXML. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | idm-pki-acme | 11.9.0-6.el10_2.1.alma.1 | ALSA-2026:92408 |
| AlmaLinux:10 | idm-pki-base | 11.9.0-6.el10_2.1.alma.1 | ALSA-2026:92408 |
| AlmaLinux:10 | idm-pki-ca | 11.9.0-6.el10_2.1.alma.1 | ALSA-2026:92408 |
| AlmaLinux:10 | idm-pki-java | 11.9.0-6.el10_2.1.alma.1 | ALSA-2026:92408 |
| AlmaLinux:10 | idm-pki-kra | 11.9.0-6.el10_2.1.alma.1 | ALSA-2026:92408 |
| AlmaLinux:10 | idm-pki-server | 11.9.0-6.el10_2.1.alma.1 | ALSA-2026:92408 |
| AlmaLinux:10 | idm-pki-tools | 11.9.0-6.el10_2.1.alma.1 | ALSA-2026:92408 |
| AlmaLinux:9 | pki-jackson-core | 2.21.6-1.el9_8.2 | ALSA-2026:86706 |
| AlmaLinux:10 | python3-idm-pki | 11.9.0-6.el10_2.1.alma.1 | ALSA-2026:92408 |
| Debian:12 | jackson-core | no fix listed | DEBIAN-CVE-2026-89407 |
| Debian:13 | jackson-core | no fix listed | DEBIAN-CVE-2026-89407 |
| Debian:14 | jackson-core | no fix listed | DEBIAN-CVE-2026-89407 |
| Maven | com.fasterxml.jackson.core:jackson-core | 2.18.11 | GHSA-p6pp-m3f8-5c89 |
| Maven | com.fasterxml.jackson.core:jackson-core | 2.21.7 | GHSA-p6pp-m3f8-5c89 |
| Maven | com.fasterxml.jackson.core:jackson-core | 2.22.3 | GHSA-p6pp-m3f8-5c89 |
| Maven | tools.jackson.core:jackson-core | 3.1.7 | GHSA-p6pp-m3f8-5c89 |
| Maven | tools.jackson.core:jackson-core | 3.2.2 | GHSA-p6pp-m3f8-5c89 |
| Rocky Linux:10 | dogtag-pki | 0:11.9.0-6.el10_2.1.rocky.0.1 | RLSA-2026:92408 |
| Rocky Linux:9 | jackson-core | 0:2.21.6-1.el9_8.2 | RLSA-2026:86706 |
| Ubuntu:22.04:LTS | jackson-core | no fix listed | UBUNTU-CVE-2026-89407 |
| Ubuntu:24.04:LTS | jackson-core | no fix listed | UBUNTU-CVE-2026-89407 |
| Ubuntu:26.04:LTS | jackson-core | no fix listed | UBUNTU-CVE-2026-89407 |
| Ubuntu:26.10 | jackson-core | no fix listed | UBUNTU-CVE-2026-89407 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| FasterXML | jackson-core | 2.17.0 – through 2.18.102.19.0 – through 2.21.62.22.0 – through 2.22.2 |
| FasterXML | jackson-core | 3.0.0 – through 3.1.63.2.0 – through 3.2.1 |
Weakness: CWE-1333, CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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