CVE catalog

CVE-2026-68497

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 newXM

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.63% · Oct 25, 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianjackson-databindsid2.22.4-1fixed
Debianjackson-databindforky2.18.11-1fixed
Debianjackson-databindtrixie2.14.0+ds-1+deb13u1vulnerable
Debianjackson-databindtrixie-security2.14.0+ds-1+deb13u1vulnerable
Debianjackson-databindbookworm2.14.0-1+deb12u1vulnerable
Debianjackson-databindbookworm-security2.14.0-1+deb12u1vulnerable
Maventools.jackson.core:jackson-databindNot reported3.1.6fixed
Mavencom.fasterxml.jackson.core:jackson-databindNot reported2.22.2fixed
Opensusejackson-annotationsleap 16.02.18.11-160000.1.1fixed
Opensusejackson-coreleap 16.02.18.11-160000.1.1fixed
Opensusejackson-databindleap 16.02.18.11-160000.1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianjackson-databindsourcesid2.18.11-1not yet assignedNot reported[1147507]
Debianjackson-databindsourceforky2.18.11-1not yet assignedNot reported[1147507]
Debianjackson-databindsourcetrixie(unfixed)not yet assignedNot reported[1147507]
Debianjackson-databindsourcebookworm(unfixed)not yet assignedNot reported[1147507]
Maventools.jackson.core:jackson-databindmavenNot reported3.1.6Not reportedGHSA-Q4XH-88C3-WMH7Not reported
Mavencom.fasterxml.jackson.core:jackson-databindmavenNot reported2.22.2Not reportedGHSA-Q4XH-88C3-WMH7Not reported
Opensusejackson-annotationsrpmleap 16.02.18.11-160000.1.1Not reportedOPENSUSE-SU-2026:22034-1Not reported
Opensusejackson-corerpmleap 16.02.18.11-160000.1.1Not reportedOPENSUSE-SU-2026:22034-1Not reported
Opensusejackson-databindrpmleap 16.02.18.11-160000.1.1Not reportedOPENSUSE-SU-2026:22034-1Not reported

[Debian bug #1147507]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [jackson-databind]

    Details (4)
    • 2.14.0-1+deb12u1 · all · bookworm

      Affected

      nvd · jackson-databind · debian · bookworm; nvd · jackson-databind · debian · 12

    • 2.14.0-1+deb12u1 · all · bookworm

      Affected

      nvd · jackson-databind · debian · bookworm; nvd · jackson-databind · debian · 12

    • 2.14.0-1+deb12u1 · all · bookworm-security

      Affected

      nvd · jackson-databind · debian · bookworm; nvd · jackson-databind · debian · 12

    • 2.14.0-1+deb12u1 · all · bookworm-security

      Affected

      nvd · jackson-databind · debian · bookworm; nvd · jackson-databind · debian · 12

[Debian 13 (Trixie)]

  • Source package: [jackson-databind]

    Details (4)
    • 2.14.0+ds-1+deb13u1 · all · trixie

      Affected

      nvd · jackson-databind · debian · 13

    • 2.14.0+ds-1+deb13u1 · all · trixie

      Affected

      nvd · jackson-databind · debian · 13

    • 2.14.0+ds-1+deb13u1 · all · trixie-security

      Affected

      nvd · jackson-databind · debian · 13

    • 2.14.0+ds-1+deb13u1 · all · trixie-security

      Affected

      nvd · jackson-databind · debian · 13

Observed:

References