CVE-2026-68497jackson-databind: unbounded numeric parse in Duration and XMLGregorianCalendar…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jackson-databind | Fix pending | UBUNTU-CVE-2026-68497 | |
| Ubuntu 26.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-68497 | |
| Ubuntu 24.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-68497 | |
| Ubuntu 22.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-68497 | |
| Ubuntu 20.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-68497 | |
| Ubuntu 18.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-68497 | |
| Ubuntu 16.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-68497 | |
| Ubuntu 14.04 | jackson-databind | Fix pending | UBUNTU-CVE-2026-68497 | |
| Debian 14 | jackson-databind | Fixed | 2.18.11-1 | DEBIAN-CVE-2026-68497 |
| Debian 13 | jackson-databind | Fix pending | DEBIAN-CVE-2026-68497 | |
| Debian 12 | jackson-databind | Fix pending | DEBIAN-CVE-2026-68497 | |
| Red Hat Enterprise Linux 10 | assertj-core | Not affected | ||
| Red Hat Enterprise Linux 10 | assertj-core-javadoc | Not affected | ||
| Red Hat Enterprise Linux 10 | dogtag-pki | Fixed | 0:11.9.0-6.el10_2 | RHSA-2026:77648 |
| Red Hat Enterprise Linux 10 | idm-pki-acme | Fixed | 0:11.9.0-6.el10_2 | RHSA-2026:77648 |
| Red Hat Enterprise Linux 10 | idm-pki-base | Fixed | 0:11.9.0-6.el10_2 | RHSA-2026:77648 |
| Red Hat Enterprise Linux 10 | idm-pki-ca | Fixed | 0:11.9.0-6.el10_2 | RHSA-2026:77648 |
| Red Hat Enterprise Linux 10 | idm-pki-java | Fixed | 0:11.9.0-6.el10_2 | RHSA-2026:77648 |
| Red Hat Enterprise Linux 10 | idm-pki-kra | Fixed | 0:11.9.0-6.el10_2 | RHSA-2026:77648 |
| Red Hat Enterprise Linux 10 | idm-pki-server | Fixed | 0:11.9.0-6.el10_2 | RHSA-2026:77648 |
| Red Hat Enterprise Linux 10 | idm-pki-tools | Fixed | 0:11.9.0-6.el10_2 | RHSA-2026:77648 |
| Red Hat Enterprise Linux 10 | python3-idm-pki | Fixed | 0:11.9.0-6.el10_2 | RHSA-2026:77648 |
| Red Hat Enterprise Linux 9 | assertj-core | Not affected | ||
| Red Hat Enterprise Linux 9 | idm-pki-acme | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | idm-pki-base | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | idm-pki-ca | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | idm-pki-est | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | idm-pki-java | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | idm-pki-kra | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | idm-pki-server | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | idm-pki-tools | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | jackson-core | Fixed | 0:2.21.6-1.el9_8 | RHSA-2026:80504 |
| Red Hat Enterprise Linux 9 | jackson-databind | Fixed | 0:2.21.6-1.el9_8 | RHSA-2026:80504 |
| Red Hat Enterprise Linux 9 | jackson-jaxrs-providers | Fixed | 0:2.21.6-1.el9_8 | RHSA-2026:80504 |
| Red Hat Enterprise Linux 9 | jackson-modules-base | Fixed | 0:2.21.6-1.el9_8 | RHSA-2026:80504 |
| Red Hat Enterprise Linux 9 | pki-acme | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | pki-base | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | pki-base-java | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | pki-ca | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | pki-core | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | pki-jackson-core | Fixed | 0:2.21.6-1.el9_8 | RHSA-2026:80504 |
| Red Hat Enterprise Linux 9 | pki-jackson-databind | Fixed | 0:2.21.6-1.el9_8 | RHSA-2026:80504 |
| Red Hat Enterprise Linux 9 | pki-jackson-jaxrs-json-provider | Fixed | 0:2.21.6-1.el9_8 | RHSA-2026:80504 |
| Red Hat Enterprise Linux 9 | pki-jackson-jaxrs-providers | Fixed | 0:2.21.6-1.el9_8 | RHSA-2026:80504 |
| Red Hat Enterprise Linux 9 | pki-jackson-module-jaxb-annotations | Fixed | 0:2.21.6-1.el9_8 | RHSA-2026:80504 |
| Red Hat Enterprise Linux 9 | pki-kra | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | pki-server | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | pki-symkey | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | pki-tools | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | python3-idm-pki | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | python3-pki | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-jss | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-jss-javadoc | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-ldapjdk | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-ldapjdk-javadoc | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-acme | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-base | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-base-java | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-ca | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-kra | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-server | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-symkey | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-pki-tools | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | idm-tomcatjss | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | jss | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | jss-javadoc | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | ldapjdk | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | ldapjdk-javadoc | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-acme | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-base | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-base-java | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-ca | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-core | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-kra | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-server | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-symkey | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pki-tools | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | python3-idm-pki | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | python3-pki | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | resteasy | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | resteasy-javadoc | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | tomcatjss | Fix pending Affected | ||
| AlmaLinux 10 | idm-pki-acme | Fixed | 11.9.0-6.el10_2.alma.1 | ALSA-2026:77648 |
| AlmaLinux 10 | idm-pki-base | Fixed | 11.9.0-6.el10_2.alma.1 | ALSA-2026:77648 |
| AlmaLinux 10 | idm-pki-ca | Fixed | 11.9.0-6.el10_2.alma.1 | ALSA-2026:77648 |
| AlmaLinux 10 | idm-pki-java | Fixed | 11.9.0-6.el10_2.alma.1 | ALSA-2026:77648 |
| AlmaLinux 10 | idm-pki-kra | Fixed | 11.9.0-6.el10_2.alma.1 | ALSA-2026:77648 |
| AlmaLinux 10 | idm-pki-server | Fixed | 11.9.0-6.el10_2.alma.1 | ALSA-2026:77648 |
| AlmaLinux 10 | python3-idm-pki | Fixed | 11.9.0-6.el10_2.alma.1 | ALSA-2026:77648 |
| AlmaLinux 9 | pki-jackson-core | Fixed | 2.21.6-1.el9_8 | ALSA-2026:80504 |
| AlmaLinux 9 | pki-jackson-databind | Fixed | 2.21.6-1.el9_8 | ALSA-2026:80504 |
| AlmaLinux 9 | pki-jackson-jaxrs-json-provider | Fixed | 2.21.6-1.el9_8 | ALSA-2026:80504 |
| AlmaLinux 9 | pki-jackson-jaxrs-providers | Fixed | 2.21.6-1.el9_8 | ALSA-2026:80504 |
| AlmaLinux 9 | pki-jackson-module-jaxb-annotations | Fixed | 2.21.6-1.el9_8 | ALSA-2026:80504 |
| Rocky Linux 10 | dogtag-pki | Fixed | 0:11.9.0-6.el10_2.rocky.0.1 | RLSA-2026:77648 |
| Rocky Linux 9 | jackson-core | Fixed | 0:2.21.6-1.el9_8 | RLSA-2026:80504 |
| Rocky Linux 9 | jackson-databind | Fixed | 0:2.21.6-1.el9_8 | RLSA-2026:80504 |
| Rocky Linux 9 | jackson-jaxrs-providers | Fixed | 0:2.21.6-1.el9_8 | RLSA-2026:80504 |
| Rocky Linux 9 | jackson-modules-base | Fixed | 0:2.21.6-1.el9_8 | RLSA-2026:80504 |
| Maven library | com.fasterxml.jackson.core:jackson-databind | Fixed | 2.18.10 | GHSA-q4xh-88c3-wmh7 |
| Maven library | tools.jackson.core:jackson-databind | Fixed | 3.1.6 | GHSA-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.
- FasterXML jackson-databind: affected: 2.0.0 to before 2.18.10, 2.19.0 to before 2.21.6, 2.22.0 to before 2.22.2; fixed in
2.18.10,2.21.6,2.22.2 - FasterXML jackson-databind: affected: 3.0.0 to before 3.1.6, 3.2.0 to before 3.2.2; fixed in
3.1.6,3.2.2
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:
- https://github.com/FasterXML/jackson-databind/pull/6127 (patch)
- https://github.com/FasterXML/jackson-databind/commit/a99b7e74c8928f43f6975773a8c862c83161… (patch)
References
- https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-q4xh-88c3-wmh7
- https://github.com/FasterXML/jackson-databind/pull/6127
- https://github.com/FasterXML/jackson-databind/commit/a99b7e74c8928f43f6975773a8c862c8316178bd
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.