Bug 2538720 (CVE-2026-89407)

Summary: CVE-2026-89407 com.fasterxml.jackson/jackson-core: tools.jackson.core/jackson-core: Jackson-core: Denial of Service via regular expression backtracking
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aakkiang, abrianik, alinfoot, amctagga, anthomas, ant, anujha, aoconnor, aschwart, asoldano, asyoung, aszczucz, ataylor, bbaranow, bbrownin, bmaxwell, bniver, boliveir, bstansbe, ccranfor, cescoffi, cfu, cmah, csuconic, csutherl, dbruscin, dfreiber, dhanak, dlofthou, drichtar, drosa, drow, dschmidt, dsimansk, dsoumis, dtrifiro, ebaron, edewata, eglynn, ehelms, ehugonne, ewittman, flucifre, fmariani, fmongiar, gbenhaim, ggainey, ggrzybek, gkimetto, gmalinko, gmeno, groman, gsmet, gtanzill, gtully, istudens, ivassile, iweiss, janstey, jburrell, jbuscemi, jclere, jhollowa, jjoyce, jlanda, jmagne, jmartisk, jnethert, jpasqual, jpechane, jpretori, jraez, jschluet, jsherman, juwatts, jwon, kaycoth, kingland, kshier, kvanderr, lblicha, lhh, manderse, mbenjamin, mburns, mcarlett, mdellweg, mfargett, mgarciac, mhackett, mhulan, mnovotny, mosmerov, mposolda, msvehla, mwoodson, nipatil, niyer, nmoumoul, nwallace, ogajduse, olubyans, osousa, ozzy, pantinor, parichar, pberan, pcreech, pdelbell, pesilva, pjindal, plodge, pmackay, prichard, prisingh, rbobbitt, rchan, rgemmell, rgodfrey, rguimara, rhel-process-autobot, rkubis, rmartinc, rmaucher, rstancel, rstepani, sausingh, sbiarozk, sdawley, simaishi, skhandel, smallamp, snegrini, sostapov, ssilvert, stcannon, sthirugn, sthorger, szappis, taherrin, tasato, tbish, tcunning, thjenkin, tlavocat, tmalecek, twaugh, varjain, vdosoudi, vereddy, vkumar, vmuzikar, watson-tool-maintainers, weaton, yfang, yguenane, zhunting
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in jackson-core. An attacker can supply specially crafted JSON that, when deserialized into a numeric target type, triggers a Regular expression Denial of Service (ReDoS) vulnerability. This occurs due to quadratic backtracking in the NumberInput.looksLikeValidNumber() method's PATTERN_FLOAT regular expression. A small number of concurrent requests with a long input string can exhaust a server's request-handling thread pool, leading to a Denial of Service (DoS).
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2542921, 2542923, 2542924, 2542919, 2542920, 2542927, 2553609    
Bug Blocks:    

Description OSIDB Bzimport 2026-09-22 20:09:28 UTC
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.

Comment 1 Jon Orris 2026-10-15 23:25:39 UTC
This issue has been addressed in the following products:

  Red Hat Build of Apache Camel 4.18 for Quarkus 3.33

Via RHSA-2026:83670 https://access.redhat.com/errata/RHSA-2026:83670

Comment 2 Jon Orris 2026-10-21 07:36:08 UTC
This issue has been addressed in the following products:

  Streams for Apache Kafka 3.2.2

Via RHSA-2026:86676 https://access.redhat.com/errata/RHSA-2026:86676

Comment 3 Jon Orris 2026-10-21 08:52:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:86706 https://access.redhat.com/errata/RHSA-2026:86706

Comment 4 Jon Orris 2026-10-29 16:24:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:92408 https://access.redhat.com/errata/RHSA-2026:92408

Comment 5 Jon Orris 2026-10-29 21:36:08 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.18 for RHEL 9

Via RHSA-2026:92860 https://access.redhat.com/errata/RHSA-2026:92860

Comment 6 Jon Orris 2026-10-29 21:37:36 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.16 for RHEL 8
  Red Hat Satellite 6.16 for RHEL 9

Via RHSA-2026:92858 https://access.redhat.com/errata/RHSA-2026:92858

Comment 7 Jon Orris 2026-10-29 21:39:59 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.17 for RHEL 9

Via RHSA-2026:92859 https://access.redhat.com/errata/RHSA-2026:92859

Comment 10 Jon Orris 2026-11-05 08:10:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:95466 https://access.redhat.com/errata/RHSA-2026:95466

Comment 11 Jon Orris 2026-11-05 08:10:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:95466 https://access.redhat.com/errata/RHSA-2026:95466

Comment 12 errata-xmlrpc 2026-11-11 11:30:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:98606 https://access.redhat.com/errata/RHSA-2026:98606

Comment 13 errata-xmlrpc 2026-11-11 12:02:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:98493 https://access.redhat.com/errata/RHSA-2026:98493

Comment 14 errata-xmlrpc 2026-11-11 15:53:58 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 8.1

Via RHSA-2026:99017 https://access.redhat.com/errata/RHSA-2026:99017

Comment 15 errata-xmlrpc 2026-11-11 15:57:54 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9
  Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8
  Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 10

Via RHSA-2026:99018 https://access.redhat.com/errata/RHSA-2026:99018