CVE-2026-89407 Details
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.
A denial-of-service vulnerability has been identified in FasterXML Jackson Core versions 2.17.0 through 2.18.10, 2.19.0 through 2.21.6, and 2.22.0 through 2.22.2. The issue arises in the 'NumberInput.looksLikeValidNumber()' method, which pre-validates stringified numbers using regular expressions. The vulnerability is rooted in 'PATTERN_FLOAT', which allows adjacent quantifiers over the same character class, leading to quadratic backtracking. This backtracking can be exploited by supplying large numeric-looking strings that the application deserializes into numeric types, such as BigDecimal or Double. The default maximum string length of 20,000,000 characters allows these inputs to bypass normal constraints, causing significant delays in processing and potentially exhausting a server's request-handling resources.
Users can update to Jackson Core versions 2.8.11, 2.21.7, 2.22.3, 3.1.7, or 3.2.2, all of which include the necessary fix. The vulnerability can also be mitigated by tightening the 'StreamReadConstraints.maxStringLength' setting to a much lower value and applying wall-clock timeouts on parsing or coercion operations.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 22, 2026CISA-ADP
Assessed Sep 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/FasterXML/jackson-core/security/advisories/GHSA-p6pp-m3f8-5c89 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/FasterXML/jackson-core/issues/1649 | HeroDevs | Issue TrackingTechnical DescriptionVendor |
| https://github.com/FasterXML/jackson-core/pull/1650 | HeroDevs | Source CodeVendor |
| https://github.com/FasterXML/jackson-core/pull/1701 | HeroDevs | Source CodeVendor |
| https://github.com/FasterXML/jackson-core/security/advisories/GHSA-p6pp-m3f8-5c89 | HeroDevs | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | HeroDevs |
| CWE-400 | Uncontrolled Resource Consumption | HeroDevs |
Affected Products
| Product | Versions |
|---|---|
| FasterXML jackson-core | >= 2.17.0, <= 2.18.10 (semver) >= 2.19.0, <= 2.21.6 (semver) >= 2.22.0, <= 2.22.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 22, 2026 | CVE Modified | CISA-ADP |
| Sep 22, 2026 | New CVE Received | HeroDevs |
Volerion