CVEfocus › CVE database › CVE-2026-68497

CVE-2026-68497jackson-databind: unbounded numeric parse in Duration and XMLGregorianCalendar…

CVSS 7.5 HighEPSS 0.6% (higher than 45% of CVEs)Published 2026-09-11Updated 2026-09-11Assigner: HeroDevs

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.

CWE-1333CWE-400

What to do

Fixed builds are available from AlmaLinux, Debian, Maven, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

38Fixed
60Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10jackson-databindFix pendingUBUNTU-CVE-2026-68497
Ubuntu 26.04jackson-databindFix pendingUBUNTU-CVE-2026-68497
Ubuntu 24.04jackson-databindFix pendingUBUNTU-CVE-2026-68497
Ubuntu 22.04jackson-databindFix pendingUBUNTU-CVE-2026-68497
Ubuntu 20.04jackson-databindFix pendingUBUNTU-CVE-2026-68497
Ubuntu 18.04jackson-databindFix pendingUBUNTU-CVE-2026-68497
Ubuntu 16.04jackson-databindFix pendingUBUNTU-CVE-2026-68497
Ubuntu 14.04jackson-databindFix pendingUBUNTU-CVE-2026-68497
Debian 14jackson-databindFixed2.18.11-1DEBIAN-CVE-2026-68497
Debian 13jackson-databindFix pendingDEBIAN-CVE-2026-68497
Debian 12jackson-databindFix pendingDEBIAN-CVE-2026-68497
Red Hat Enterprise Linux 10assertj-coreNot affected
Red Hat Enterprise Linux 10assertj-core-javadocNot affected
Red Hat Enterprise Linux 10dogtag-pkiFixed0:11.9.0-6.el10_2RHSA-2026:77648
Red Hat Enterprise Linux 10idm-pki-acmeFixed0:11.9.0-6.el10_2RHSA-2026:77648
Red Hat Enterprise Linux 10idm-pki-baseFixed0:11.9.0-6.el10_2RHSA-2026:77648
Red Hat Enterprise Linux 10idm-pki-caFixed0:11.9.0-6.el10_2RHSA-2026:77648
Red Hat Enterprise Linux 10idm-pki-javaFixed0:11.9.0-6.el10_2RHSA-2026:77648
Red Hat Enterprise Linux 10idm-pki-kraFixed0:11.9.0-6.el10_2RHSA-2026:77648
Red Hat Enterprise Linux 10idm-pki-serverFixed0:11.9.0-6.el10_2RHSA-2026:77648
Red Hat Enterprise Linux 10idm-pki-toolsFixed0:11.9.0-6.el10_2RHSA-2026:77648
Red Hat Enterprise Linux 10python3-idm-pkiFixed0:11.9.0-6.el10_2RHSA-2026:77648
Red Hat Enterprise Linux 9assertj-coreNot affected
Red Hat Enterprise Linux 9idm-pki-acmeFix pending
Affected
Red Hat Enterprise Linux 9idm-pki-baseFix pending
Affected
Red Hat Enterprise Linux 9idm-pki-caFix pending
Affected
Red Hat Enterprise Linux 9idm-pki-estFix pending
Affected
Red Hat Enterprise Linux 9idm-pki-javaFix pending
Affected
Red Hat Enterprise Linux 9idm-pki-kraFix pending
Affected
Red Hat Enterprise Linux 9idm-pki-serverFix pending
Affected
Red Hat Enterprise Linux 9idm-pki-toolsFix pending
Affected
Red Hat Enterprise Linux 9jackson-coreFixed0:2.21.6-1.el9_8RHSA-2026:80504
Red Hat Enterprise Linux 9jackson-databindFixed0:2.21.6-1.el9_8RHSA-2026:80504
Red Hat Enterprise Linux 9jackson-jaxrs-providersFixed0:2.21.6-1.el9_8RHSA-2026:80504
Red Hat Enterprise Linux 9jackson-modules-baseFixed0:2.21.6-1.el9_8RHSA-2026:80504
Red Hat Enterprise Linux 9pki-acmeFix pending
Affected
Red Hat Enterprise Linux 9pki-baseFix pending
Affected
Red Hat Enterprise Linux 9pki-base-javaFix pending
Affected
Red Hat Enterprise Linux 9pki-caFix pending
Affected
Red Hat Enterprise Linux 9pki-coreFix pending
Affected
Red Hat Enterprise Linux 9pki-jackson-coreFixed0:2.21.6-1.el9_8RHSA-2026:80504
Red Hat Enterprise Linux 9pki-jackson-databindFixed0:2.21.6-1.el9_8RHSA-2026:80504
Red Hat Enterprise Linux 9pki-jackson-jaxrs-json-providerFixed0:2.21.6-1.el9_8RHSA-2026:80504
Red Hat Enterprise Linux 9pki-jackson-jaxrs-providersFixed0:2.21.6-1.el9_8RHSA-2026:80504
Red Hat Enterprise Linux 9pki-jackson-module-jaxb-annotationsFixed0:2.21.6-1.el9_8RHSA-2026:80504
Red Hat Enterprise Linux 9pki-kraFix pending
Affected
Red Hat Enterprise Linux 9pki-serverFix pending
Affected
Red Hat Enterprise Linux 9pki-symkeyFix pending
Affected
Red Hat Enterprise Linux 9pki-toolsFix pending
Affected
Red Hat Enterprise Linux 9python3-idm-pkiFix pending
Affected
Red Hat Enterprise Linux 9python3-pkiFix pending
Affected
Red Hat Enterprise Linux 8idm-jssFix pending
Affected
Red Hat Enterprise Linux 8idm-jss-javadocFix pending
Affected
Red Hat Enterprise Linux 8idm-ldapjdkFix pending
Affected
Red Hat Enterprise Linux 8idm-ldapjdk-javadocFix pending
Affected
Red Hat Enterprise Linux 8idm-pki-acmeFix pending
Affected
Red Hat Enterprise Linux 8idm-pki-baseFix pending
Affected
Red Hat Enterprise Linux 8idm-pki-base-javaFix pending
Affected
Red Hat Enterprise Linux 8idm-pki-caFix pending
Affected
Red Hat Enterprise Linux 8idm-pki-kraFix pending
Affected
Red Hat Enterprise Linux 8idm-pki-serverFix pending
Affected
Red Hat Enterprise Linux 8idm-pki-symkeyFix pending
Affected
Red Hat Enterprise Linux 8idm-pki-toolsFix pending
Affected
Red Hat Enterprise Linux 8idm-tomcatjssFix pending
Affected
Red Hat Enterprise Linux 8jssFix pending
Affected
Red Hat Enterprise Linux 8jss-javadocFix pending
Affected
Red Hat Enterprise Linux 8ldapjdkFix pending
Affected
Red Hat Enterprise Linux 8ldapjdk-javadocFix pending
Affected
Red Hat Enterprise Linux 8pki-acmeFix pending
Affected
Red Hat Enterprise Linux 8pki-baseFix pending
Affected
Red Hat Enterprise Linux 8pki-base-javaFix pending
Affected
Red Hat Enterprise Linux 8pki-caFix pending
Affected
Red Hat Enterprise Linux 8pki-coreFix pending
Affected
Red Hat Enterprise Linux 8pki-kraFix pending
Affected
Red Hat Enterprise Linux 8pki-serverFix pending
Affected
Red Hat Enterprise Linux 8pki-symkeyFix pending
Affected
Red Hat Enterprise Linux 8pki-toolsFix pending
Affected
Red Hat Enterprise Linux 8python3-idm-pkiFix pending
Affected
Red Hat Enterprise Linux 8python3-pkiFix pending
Affected
Red Hat Enterprise Linux 8resteasyFix pending
Affected
Red Hat Enterprise Linux 8resteasy-javadocFix pending
Affected
Red Hat Enterprise Linux 8tomcatjssFix pending
Affected
AlmaLinux 10idm-pki-acmeFixed11.9.0-6.el10_2.alma.1ALSA-2026:77648
AlmaLinux 10idm-pki-baseFixed11.9.0-6.el10_2.alma.1ALSA-2026:77648
AlmaLinux 10idm-pki-caFixed11.9.0-6.el10_2.alma.1ALSA-2026:77648
AlmaLinux 10idm-pki-javaFixed11.9.0-6.el10_2.alma.1ALSA-2026:77648
AlmaLinux 10idm-pki-kraFixed11.9.0-6.el10_2.alma.1ALSA-2026:77648
AlmaLinux 10idm-pki-serverFixed11.9.0-6.el10_2.alma.1ALSA-2026:77648
AlmaLinux 10python3-idm-pkiFixed11.9.0-6.el10_2.alma.1ALSA-2026:77648
AlmaLinux 9pki-jackson-coreFixed2.21.6-1.el9_8ALSA-2026:80504
AlmaLinux 9pki-jackson-databindFixed2.21.6-1.el9_8ALSA-2026:80504
AlmaLinux 9pki-jackson-jaxrs-json-providerFixed2.21.6-1.el9_8ALSA-2026:80504
AlmaLinux 9pki-jackson-jaxrs-providersFixed2.21.6-1.el9_8ALSA-2026:80504
AlmaLinux 9pki-jackson-module-jaxb-annotationsFixed2.21.6-1.el9_8ALSA-2026:80504
Rocky Linux 10dogtag-pkiFixed0:11.9.0-6.el10_2.rocky.0.1RLSA-2026:77648
Rocky Linux 9jackson-coreFixed0:2.21.6-1.el9_8RLSA-2026:80504
Rocky Linux 9jackson-databindFixed0:2.21.6-1.el9_8RLSA-2026:80504
Rocky Linux 9jackson-jaxrs-providersFixed0:2.21.6-1.el9_8RLSA-2026:80504
Rocky Linux 9jackson-modules-baseFixed0:2.21.6-1.el9_8RLSA-2026:80504
Maven librarycom.fasterxml.jackson.core:jackson-databindFixed2.18.10GHSA-q4xh-88c3-wmh7
Maven librarytools.jackson.core:jackson-databindFixed3.1.6GHSA-q4xh-88c3-wmh7

What the vendor says

As published in the CVE record by HeroDevs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to jackson-databind 2.18.10, 2.21.6, 2.22.2 (com.fasterxml.jackson.core) or 3.1.6, 3.2.2 (tools.jackson.core). The fix applies the same validate-length-then-parse idiom already used by NumberDeserializers, calling StreamReadConstraints length validation on the raw string before delegating to DatatypeFactory. The guard deliberately does not extend to javax.xml.namespace.QName, whose local parts may legitimately be long.

Workaround: Avoid binding javax.xml.datatype.Duration and javax.xml.datatype.XMLGregorianCalendar fields directly from untrusted JSON. Where such fields are required, impose a maximum request body size and a maximum string length at the transport layer, or bind the value as a String, length-check it, and convert it in application code.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.