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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 49.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:10idm-pki-acme11.9.0-6.el10_2.1.alma.1ALSA-2026:92408
AlmaLinux:10idm-pki-base11.9.0-6.el10_2.1.alma.1ALSA-2026:92408
AlmaLinux:10idm-pki-ca11.9.0-6.el10_2.1.alma.1ALSA-2026:92408
AlmaLinux:10idm-pki-java11.9.0-6.el10_2.1.alma.1ALSA-2026:92408
AlmaLinux:10idm-pki-kra11.9.0-6.el10_2.1.alma.1ALSA-2026:92408
AlmaLinux:10idm-pki-server11.9.0-6.el10_2.1.alma.1ALSA-2026:92408
AlmaLinux:10idm-pki-tools11.9.0-6.el10_2.1.alma.1ALSA-2026:92408
AlmaLinux:9pki-jackson-core2.21.6-1.el9_8.2ALSA-2026:86706
AlmaLinux:10python3-idm-pki11.9.0-6.el10_2.1.alma.1ALSA-2026:92408
Debian:12jackson-coreno fix listedDEBIAN-CVE-2026-89407
Debian:13jackson-coreno fix listedDEBIAN-CVE-2026-89407
Debian:14jackson-coreno fix listedDEBIAN-CVE-2026-89407
Mavencom.fasterxml.jackson.core:jackson-core2.18.11GHSA-p6pp-m3f8-5c89
Mavencom.fasterxml.jackson.core:jackson-core2.21.7GHSA-p6pp-m3f8-5c89
Mavencom.fasterxml.jackson.core:jackson-core2.22.3GHSA-p6pp-m3f8-5c89
Maventools.jackson.core:jackson-core3.1.7GHSA-p6pp-m3f8-5c89
Maventools.jackson.core:jackson-core3.2.2GHSA-p6pp-m3f8-5c89
Rocky Linux:10dogtag-pki0:11.9.0-6.el10_2.1.rocky.0.1RLSA-2026:92408
Rocky Linux:9jackson-core0:2.21.6-1.el9_8.2RLSA-2026:86706
Ubuntu:22.04:LTSjackson-coreno fix listedUBUNTU-CVE-2026-89407
Ubuntu:24.04:LTSjackson-coreno fix listedUBUNTU-CVE-2026-89407
Ubuntu:26.04:LTSjackson-coreno fix listedUBUNTU-CVE-2026-89407
Ubuntu:26.10jackson-coreno fix listedUBUNTU-CVE-2026-89407

Affected products (as reported)

VendorProductVersions
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