Security mailing lists by PureSourceCode

CVE-2026-68497

HIGH 7.5CVSS 3.1

jackson-databind: Duration XMLGregorianCalendar Unbounded Number Parse DoS

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.

Published
11 Sep 2026
Last modified
28 Sep 2026
Assigned by
36c7be3b-2937-45df-85ea-ca7133ea542c
NVD status
Awaiting Analysis
Weakness
CWE-400
Also known as
GHSA-q4xh-88c3-wmh7
Sources
NVDJSONOSV GHSA-q4xh-88c3-wmh7JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 36c7be3b-2937-45df-85ea-ca7133ea542c (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Maven tools.jackson.core:jackson-databind >= 3.2.0, < 3.2.2 3.2.2
OSV Maven tools.jackson.core:jackson-databind >= 3.0.0, < 3.1.6 3.1.6
OSV Maven com.fasterxml.jackson.core:jackson-databind >= 2.14.0, < 2.18.10 2.18.10
OSV Maven com.fasterxml.jackson.core:jackson-databind >= 2.19.0, < 2.21.6 2.21.6
OSV Maven com.fasterxml.jackson.core:jackson-databind >= 2.22.0, < 2.22.2 2.22.2

References

History

  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 11 Sep 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.