CVE-2026-89407jackson-core: quadratic backtracking in NumberInput.PATTERN_FLOAT via…
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.
What to do
Fixed builds are available from AlmaLinux, Maven, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jackson-core | Fix pending | UBUNTU-CVE-2026-89407 | |
| Ubuntu 26.04 | jackson-core | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | jackson-core | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | jackson-core | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | jackson-core | Fix pending | UBUNTU-CVE-2026-89407 | |
| Ubuntu 18.04 | jackson-core | Fix pending | UBUNTU-CVE-2026-89407 | |
| Ubuntu 16.04 | jackson-core | Fix pending | UBUNTU-CVE-2026-89407 | |
| Red Hat Enterprise Linux 10 | dogtag-pki | Fixed | 0:11.9.0-6.el10_2.1 | RHSA-2026:98606 |
| Red Hat Enterprise Linux 10 | idm-pki-acme | Fixed | 0:11.9.0-6.el10_2.1 | RHSA-2026:98606 |
| Red Hat Enterprise Linux 10 | idm-pki-base | Fixed | 0:11.9.0-9.el10_3.1 | RHSA-2026:92408 |
| Red Hat Enterprise Linux 10 | idm-pki-ca | Fixed | 0:11.9.0-9.el10_3.1 | RHSA-2026:92408 |
| Red Hat Enterprise Linux 10 | idm-pki-java | Fixed | 0:11.9.0-9.el10_3.1 | RHSA-2026:92408 |
| Red Hat Enterprise Linux 10 | idm-pki-kra | Fixed | 0:11.9.0-9.el10_3.1 | RHSA-2026:92408 |
| Red Hat Enterprise Linux 10 | idm-pki-server | Fixed | 0:11.9.0-6.el10_2.1 | RHSA-2026:98606 |
| Red Hat Enterprise Linux 10 | idm-pki-tools | Fixed | 0:11.9.0-6.el10_2.1 | RHSA-2026:98606 |
| Red Hat Enterprise Linux 10 | python3-idm-pki | Fixed | 0:11.9.0-6.el10_2.1 | RHSA-2026:98606 |
| Red Hat Enterprise Linux 9 | idm-pki-acme | Not affected | ||
| Red Hat Enterprise Linux 9 | idm-pki-base | Not affected | ||
| Red Hat Enterprise Linux 9 | idm-pki-ca | Not affected | ||
| Red Hat Enterprise Linux 9 | idm-pki-est | Not affected | ||
| Red Hat Enterprise Linux 9 | idm-pki-java | Not affected | ||
| Red Hat Enterprise Linux 9 | idm-pki-kra | Not affected | ||
| Red Hat Enterprise Linux 9 | idm-pki-server | Not affected | ||
| Red Hat Enterprise Linux 9 | idm-pki-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | jackson-core | Fixed | 0:2.21.6-1.el9_8.2 | RHSA-2026:98493 |
| Red Hat Enterprise Linux 9 | pki-acme | Not affected | ||
| Red Hat Enterprise Linux 9 | pki-base | Not affected | ||
| Red Hat Enterprise Linux 9 | pki-base-java | Not affected | ||
| Red Hat Enterprise Linux 9 | pki-ca | Not affected | ||
| Red Hat Enterprise Linux 9 | pki-core | Not affected | ||
| Red Hat Enterprise Linux 9 | pki-jackson-core | Fixed | 0:2.21.6-1.el9_8.2 | RHSA-2026:98493 |
| Red Hat Enterprise Linux 9 | pki-kra | Not affected | ||
| Red Hat Enterprise Linux 9 | pki-server | Not affected | ||
| Red Hat Enterprise Linux 9 | pki-symkey | Not affected | ||
| Red Hat Enterprise Linux 9 | pki-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | protobuf | Not affected | ||
| Red Hat Enterprise Linux 9 | protobuf-compiler | Not affected | ||
| Red Hat Enterprise Linux 9 | protobuf-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | protobuf-lite | Not affected | ||
| Red Hat Enterprise Linux 9 | protobuf-lite-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-idm-pki | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-pki | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-protobuf | Not affected | ||
| Red Hat Enterprise Linux 8 | idm-jss | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-jss-javadoc | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-ldapjdk | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-ldapjdk-javadoc | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-acme | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-base | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-base-java | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-ca | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-kra | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-server | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-symkey | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-tools | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-tomcatjss | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | jackson-core | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | jackson-core-javadoc | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | jss | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | jss-javadoc | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | ldapjdk | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | ldapjdk-javadoc | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-acme | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-base | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-base-java | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-ca | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-core | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-kra | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-server | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-symkey | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-tools | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | protobuf | Not affected | ||
| Red Hat Enterprise Linux 8 | protobuf-compiler | Not affected | ||
| Red Hat Enterprise Linux 8 | protobuf-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | protobuf-lite | Not affected | ||
| Red Hat Enterprise Linux 8 | protobuf-lite-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-idm-pki | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | python3-pki | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | python3-protobuf | Not affected | ||
| Red Hat Enterprise Linux 8 | resteasy | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | resteasy-javadoc | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | tomcatjss | Fix pending Affected | ||
| AlmaLinux 10 | idm-pki-acme | Fixed | 11.9.0-9.el10_3.1.alma.1 | ALSA-2026:92408 |
| AlmaLinux 10 | idm-pki-base | Fixed | 11.9.0-6.el10_2.1.alma.1 | ALSA-2026:98606 |
| AlmaLinux 10 | idm-pki-ca | Fixed | 11.9.0-9.el10_3.1.alma.1 | ALSA-2026:92408 |
| AlmaLinux 10 | idm-pki-java | Fixed | 11.9.0-6.el10_2.1.alma.1 | ALSA-2026:98606 |
| AlmaLinux 10 | idm-pki-kra | Fixed | 11.9.0-6.el10_2.1.alma.1 | ALSA-2026:98606 |
| AlmaLinux 10 | idm-pki-server | Fixed | 11.9.0-6.el10_2.1.alma.1 | ALSA-2026:98606 |
| AlmaLinux 10 | idm-pki-tools | Fixed | 11.9.0-9.el10_3.1.alma.1 | ALSA-2026:98606 |
| AlmaLinux 10 | python3-idm-pki | Fixed | 11.9.0-9.el10_3.1.alma.1 | ALSA-2026:92408 |
| AlmaLinux 9 | pki-jackson-core | Fixed | 2.21.6-1.el9_8.2 | ALSA-2026:98493 |
| Rocky Linux 10 | dogtag-pki | Fixed | 0:11.9.0-6.el10_2.1.rocky.0.1 | RLSA-2026:92408 |
| Rocky Linux 10 | idm-pki-acme | Fixed | 0:11.9.0-9.el10_3.1.rocky.0.1 | RLSA-2026:98606 |
| Rocky Linux 10 | idm-pki-base | Fixed | 0:11.9.0-9.el10_3.1.rocky.0.1 | RLSA-2026:98606 |
| Rocky Linux 10 | idm-pki-ca | Fixed | 0:11.9.0-9.el10_3.1.rocky.0.1 | RLSA-2026:98606 |
| Rocky Linux 10 | idm-pki-java | Fixed | 0:11.9.0-9.el10_3.1.rocky.0.1 | RLSA-2026:98606 |
| Rocky Linux 10 | idm-pki-kra | Fixed | 0:11.9.0-9.el10_3.1.rocky.0.1 | RLSA-2026:98606 |
| Rocky Linux 10 | idm-pki-server | Fixed | 0:11.9.0-9.el10_3.1.rocky.0.1 | RLSA-2026:98606 |
| Rocky Linux 10 | idm-pki-tools | Fixed | 0:11.9.0-9.el10_3.1.rocky.0.1 | RLSA-2026:98606 |
| Rocky Linux 10 | python3-idm-pki | Fixed | 0:11.9.0-9.el10_3.1.rocky.0.1 | RLSA-2026:98606 |
| Rocky Linux 9 | jackson-core | Fixed | 0:2.21.6-1.el9_8.2 | RLSA-2026:86706 |
| Rocky Linux 9 | pki-jackson-core | Fixed | 0:2.21.6-1.el9_9.1 | RLSA-2026:98493 |
| Maven library | com.fasterxml.jackson.core:jackson-core | Fixed | 2.18.11 | GHSA-p6pp-m3f8-5c89 |
| Maven library | tools.jackson.core:jackson-core | Fixed | 3.2.2 | GHSA-p6pp-m3f8-5c89 |
What the vendor says
As published in the CVE record by HeroDevs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FasterXML jackson-core: affected: 2.17.0 to 2.18.10, 2.19.0 to 2.21.6, 2.22.0 to 2.22.2
- FasterXML jackson-core: affected: 3.0.0 to 3.1.6, 3.2.0 to 3.2.1
Solution: Upgrade to com.fasterxml.jackson.core:jackson-core 2.18.11, 2.21.7 or 2.22.3, or to tools.jackson.core:jackson-core 3.1.7 or 3.2.2. The 2.17.x, 2.19.x, 2.20.x and 3.0.x lines received no fix on their own branch and are no longer maintained upstream; consumers of those lines must move forward to a maintained release.
Workaround: Until upgrading, lower StreamReadConstraints.maxStringLength well below its default of 20,000,000 characters so that oversized string tokens are rejected before number coercion, and apply wall-clock timeouts to parse and coercion operations. Because matching cost is quadratic in token length, a tight length bound substantially reduces worst-case cost. These are mitigations, not a complete fix.
Vendor advisories:
- https://github.com/FasterXML/jackson-core/security/advisories/GHSA-p6pp-m3f8-5c89 (vendor-advisory)
- https://github.com/FasterXML/jackson-core/pull/1650 (patch)
- https://github.com/FasterXML/jackson-core/pull/1701 (patch)
References
- https://github.com/FasterXML/jackson-core/security/advisories/GHSA-p6pp-m3f8-5c89
- https://github.com/FasterXML/jackson-core/issues/1649
- https://github.com/FasterXML/jackson-core/pull/1650
- https://github.com/FasterXML/jackson-core/pull/1701
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.