CVE-2026-68497
Published:September 11, 2026
Updated:September 14, 2026
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.
Affected Packages
https://github.com/FasterXML/jackson-databind.git (GITHUB):
Affected version(s) >=jackson-databind-2.0.0 <jackson-databind-2.18.10Fix Suggestion:
Update to version jackson-databind-2.18.10https://github.com/FasterXML/jackson-databind.git (GITHUB):
Affected version(s) >=jackson-databind-2.19.0 <jackson-databind-2.21.6Fix Suggestion:
Update to version jackson-databind-2.21.6https://github.com/FasterXML/jackson-databind.git (GITHUB):
Affected version(s) >=jackson-databind-2.22.0 <jackson-databind-2.22.2Fix Suggestion:
Update to version jackson-databind-2.22.2com.fasterxml.jackson.core:jackson-databind (JAVA):
Affected version(s) >=2.0.0 <2.18.10Fix Suggestion:
Update to version 2.18.10com.fasterxml.jackson.core:jackson-databind (JAVA):
Affected version(s) >=2.19.0 <2.21.6Fix Suggestion:
Update to version 2.21.6tools.jackson.core:jackson-databind (JAVA):
Affected version(s) >=3.2.0 <3.2.2Fix Suggestion:
Update to version 3.2.2tools.jackson.core:jackson-databind (JAVA):
Affected version(s) >=3.0.0 <3.1.6Fix Suggestion:
Update to version 3.1.6com.fasterxml.jackson.core:jackson-databind (JAVA):
Affected version(s) >=2.22.0 <2.22.2Fix Suggestion:
Update to version 2.22.2Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.58