Skip to main content
CVE-2026-68497VulnerabilityPublished Updated

jackson-databind binds a JSON string to a javax.xml.datatype.Duration or javax.xml.datatype.XMLGregorianCalendar field by passing the raw string verbatim to DatatypeFactory.newDuration(value) or newXMLGregorianCalendar(value) in CoreXMLDeserializers.Std._deserialize

Affects jackson-databindSource GCVE Database

0
Compare
Authoritative record:CVE-2026-68497· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 2.18.10 : patch jackson-databind soon.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.18.10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10jackson-databindpkg:deb/ubuntu/jackson-databind?arch=source&distro=stonkingOther threatsAffected
  • =2.14.0+ds-1build1
  • =2.14.0+ds-2
Fixed in–
Ubuntu 26.04 LTSjackson-databindpkg:deb/ubuntu/jackson-databind?arch=source&distro=resoluteOther threatsAffected
  • =2.14.0+ds-1
  • =2.14.0+ds-1build1
Fixed in–
Ubuntu 24.04 LTSjackson-databindpkg:deb/ubuntu/jackson-databind?arch=source&distro=nobleOther threatsAffected
  • =2.14.0-1
Fixed in–
Ubuntu 22.04 LTSjackson-databindpkg:deb/ubuntu/jackson-databind?arch=source&distro=jammyOther threatsAffected
  • 2.12.1-1 – 2.13.0-2
4 affected builds
Fixed in–
Ubuntu 20.04 LTSjackson-databindpkg:deb/ubuntu/jackson-databind?arch=source&distro=focalOther threatsAffected
  • 2.9.9.3-1 – 2.10.2-1
4 affected builds
Fixed in–
Ubuntu 18.04 LTSjackson-databindpkg:deb/ubuntu/jackson-databind?arch=source&distro=bionicOther threatsAffected
  • 2.8.6-1 – 2.9.8-1~18.04
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

jackson-databind binds a JSON string to a javax.xml.datatype.Duration or javax.xml.datatype.XMLGregorianCalendar field by passing the raw string verbatim to DatatypeFactory.newDuration(value) or newXMLGregorianCalendar(value) in CoreXMLDeserializers.Std._deserialize. These deserializers are registered by default with no opt-in, so a plain ObjectMapper or JsonMapper with no polymorphic typing and no special configuration reaches this path. The XML Schema lexical grammar permits numeric components of arbitrary length, which the JDK materializes through the native BigInteger(String) and BigDecimal(String) constructors, both quadratic in digit count. Because the digits sit inside a JSON string token rather than a JSON number token, jackson-core's StreamReadConstraints.maxNumberLength guard never applies; jackson's own NumberDeserializers call validateIntegerLength or validateFPLength before parsing a stringified number, but the XML datatype deserializer omits that pre-check. An unauthenticated attacker can therefore submit a single request of a few megabytes, such as a Duration value consisting of the letter P followed by several million digits and the letter Y, and force tens of seconds to several minutes of single-threaded CPU work; a handful of concurrent requests can saturate a server's worker threads. This affects com.fasterxml.jackson.core:jackson-databind from 2.0.0 before 2.18.10, from 2.19.0 before 2.21.6, and from 2.22.0 before 2.22.2, and tools.jackson.core:jackson-databind from 3.0.0 before 3.1.6 and from 3.2.0 before 3.2.2. Users should upgrade to 2.18.10, 2.21.6, 2.22.2, 3.1.6, or 3.2.2.

References

Community reviews

Loading reviews…