CVE-2026-68497
jackson-databind: unbounded numeric parse in Duration and XMLGregorianCalendar deserialization allows CPU denial of service
Also known as GHSA-q4xh-88c3-wmh7
Mitigation
- Upgrade tools.jackson.core:jackson-databind to one of 3.2.2, 3.1.6 (or later in the same release line).
- Upgrade com.fasterxml.jackson.core:jackson-databind to one of 2.18.10, 2.21.6, 2.22.2 (or later in the same release line).
- Vendor 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.
Who should check
- Projects that depend on Maven package tools.jackson.core:jackson-databind (>= 3.2.0, < 3.2.2)
- Projects that depend on Maven package com.fasterxml.jackson.core:jackson-databind (>= 2.14.0, < 2.18.10)
- Anyone running FasterXML jackson-databind >= 2.0.0, < 2.18.10; >= 2.19.0, < 2.21.6; >= 2.22.0, < 2.22.2
- Anyone running FasterXML jackson-databind >= 3.0.0, < 3.1.6; >= 3.2.0, < 3.2.2
Vulnerability facts
- Affected
- tools.jackson.core:jackson-databind >= 3.2.0, < 3.2.2; com.fasterxml.jackson.core:jackson-databind >= 2.14.0, < 2.18.10
- Fixed in
- 3.2.2, 3.1.6, 2.18.10, 2.21.6, 2.22.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.64% chance of exploitation in 30 days (percentile 45, 2026-11-26)
- CWE
- CWE-400, CWE-1333
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven tools.jackson.core:jackson-databind | >= 3.2.0, < 3.2.2 | 3.2.2, 3.1.6 | osv |
| Maven com.fasterxml.jackson.core:jackson-databind | >= 2.14.0, < 2.18.10 | 2.18.10, 2.21.6, 2.22.2 | osv |
| FasterXML jackson-databind | >= 2.0.0, < 2.18.10; >= 2.19.0, < 2.21.6; >= 2.22.0, < 2.22.2 | — | cvelist |
| FasterXML jackson-databind | >= 3.0.0, < 3.1.6; >= 3.2.0, < 3.2.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-68497. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-68497.md Affected: tools.jackson.core:jackson-databind >= 3.2.0, < 3.2.2; com.fasterxml.jackson.core:jackson-databind >= 2.14.0, < 2.18.10 Fixed in: 3.2.2, 3.1.6, 2.18.10, 2.21.6, 2.22.2 Steps: 1. Search this machine and project for tools.jackson.core:jackson-databind (Maven), com.fasterxml.jackson.core:jackson-databind (Maven), FasterXML jackson-databind: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://github.com/FasterXML/jackson-databind
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.18.10
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.21.6
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-2.22.2
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.1.6
- https://github.com/FasterXML/jackson-databind/releases/tag/jackson-databind-3.2.2
FAQ
Is CVE-2026-68497 being exploited?
There is no confirmed exploitation: CVE-2026-68497 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.64% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-68497?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-68497?
tools.jackson.core:jackson-databind >= 3.2.0, < 3.2.2; com.fasterxml.jackson.core:jackson-databind >= 2.14.0, < 2.18.10.
Is there a fix for CVE-2026-68497?
Yes. Fixed in 3.2.2, 3.1.6, 2.18.10, 2.21.6, 2.22.2. Upgrade tools.jackson.core:jackson-databind to one of 3.2.2, 3.1.6 (or later in the same release line). Upgrade com.fasterxml.jackson.core:jackson-databind to one of 2.18.10, 2.21.6, 2.22.2 (or later in the same release line). Vendor 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.
How do I check if I'm affected by CVE-2026-68497?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.