p PatchFirst

CVE-2026-68497

CVE-2026-68497 · jackson-databind: unbounded numeric parse in Duration and XMLGregorianCalendar deserialization allows CPU denial of service

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.5 · High · EPSS 0.6% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • jackson-databind

    Versions
    • ≥ 2.0.0, < 2.18.10: Affected (maven)
    • ≥ 2.19.0, < 2.21.6: Affected (maven)
    • ≥ 2.22.0, < 2.22.2: Affected (maven)

    Update to 2.18.10; Update to 2.21.6; Update to 2.22.2

  • jackson-databind

    Versions
    • ≥ 3.0.0, < 3.1.6: Affected (maven)
    • ≥ 3.2.0, < 3.2.2: Affected (maven)

    Update to 3.1.6; Update to 3.2.2

  • jackson-databind Debian:12

    Versions
    • 2.14.0+ds-1
    • 2.14.0+ds-2
    • 2.14.0+ds-3
    • 2.14.0-1
    • 2.14.0-1+deb12u1
    • 2.18.11-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-databind Debian:13

    Versions
    • 2.14.0+ds-1
    • 2.14.0+ds-1+deb13u1
    • 2.14.0+ds-2
    • 2.14.0+ds-3
    • 2.18.11-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-databind Debian:14

    Versions
    • 2.14.0+ds-1
    • 2.14.0+ds-2
    • 2.14.0+ds-3
    Affected ranges
    • ECOSYSTEM: < 2.18.11-1

    Update to 2.18.11-1

  • jackson-databind Ubuntu:Pro:14.04:LTS

    Versions
    • 2.2.2-1
    • 2.2.2-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-databind Ubuntu:Pro:16.04:LTS

    Versions
    • 2.4.2-2
    • 2.4.2-3
    • 2.4.2-3ubuntu0.1~esm1
    • 2.4.2-3ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-databind Ubuntu:18.04:LTS

    Versions
    • 2.8.6-1
    • 2.9.1-1
    • 2.9.4-1
    • 2.9.5-1
    • 2.9.8-1~18.04
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-databind Ubuntu:20.04:LTS

    Versions
    • 2.9.9.3-1
    • 2.10.0-2
    • 2.10.1-1
    • 2.10.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-databind Ubuntu:22.04:LTS

    Versions
    • 2.12.1-1
    • 2.12.5-1
    • 2.13.0-1
    • 2.13.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-databind Ubuntu:24.04:LTS

    Versions
    • 2.14.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-databind Ubuntu:26.10

    Versions
    • 2.14.0+ds-1build1
    • 2.14.0+ds-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-databind Ubuntu:26.04:LTS

    Versions
    • 2.14.0+ds-1
    • 2.14.0+ds-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →