CVE-2026-89407
Last modified
CVE-2026-89407 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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..
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| FasterXML | jackson-core | >= 2.17.0, <= 2.18.10; >= 2.19.0, <= 2.21.6; >= 2.22.0, <= 2.22.2 |
| FasterXML | jackson-core | >= 3.0.0, <= 3.1.6; >= 3.2.0, <= 3.2.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-89407?
How severe is CVE-2026-89407?
How do I fix CVE-2026-89407?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-8934A Missing Authorization vulnerability in a GraphQL private A…6.9
- CVE-2026-8935The WP MAPS PRO WordPress plugin before 6.1.1 registers an u…9.8
- CVE-2026-8936Fixed a VM panic caused by unbounded recursion in the grpcfu…8.2
- CVE-2026-8938The auto making JSON-LD plugin for WordPress is vulnerable t…4.3
- CVE-2026-8939The Search Simple Fields plugin for WordPress is vulnerable …4.3
- CVE-2026-8940The WP Meta Sort Posts plugin for WordPress is vulnerable to…4.3
- CVE-2026-8941The CDN Linker lite plugin for WordPress is vulnerable to Cr…4.3
- CVE-2026-89412The TranslatePress – Translate Multilingual sites with AI Tr…7.2
- CVE-2026-89413The Filter Gallery plugin for WordPress is vulnerable to aut…8.1
- CVE-2026-89418google-protobuf contains an unbounded recursion when parsing…8.7
- CVE-2026-8942The MetaMagic SEO Plugin plugin for WordPress is vulnerable …4.3
- CVE-2026-89420Improper Validation of Specified Quantity in Input in ZenHiv…7.1
Are you affected by CVE-2026-89407?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
