---
id: CVE-2026-68497
title: >-
  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 CoreXMLD…
summary: >-
  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 CoreXMLD…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-400
  - CWE-1333
vendor: FasterXML
product: 'com.fasterxml.jackson.core:jackson-databind'
affected:
  - 'com.fasterxml.jackson.core:jackson-databind >= 2.0.0 < 2.18.10'
  - 'com.fasterxml.jackson.core:jackson-databind >= 2.19.0 < 2.21.6'
  - 'com.fasterxml.jackson.core:jackson-databind >= 2.22.0 < 2.22.2'
  - 'tools.jackson.core:jackson-databind >= 3.0.0 < 3.1.6'
  - 'tools.jackson.core:jackson-databind >= 3.2.0 < 3.2.2'
published: '2026-09-11'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T19:34:36.657'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-68497'
references:
  - url: >-
      https://github.com/FasterXML/jackson-databind/commit/a99b7e74c8928f43f6975773a8c862c8316178bd
    label: 36c7be3b-2937-45df-85ea-ca7133ea542c
  - url: 'https://github.com/FasterXML/jackson-databind/pull/6127'
    label: 36c7be3b-2937-45df-85ea-ca7133ea542c
  - url: >-
      https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-q4xh-88c3-wmh7
    label: 36c7be3b-2937-45df-85ea-ca7133ea542c
  - url: >-
      https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-q4xh-88c3-wmh7
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68497.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-68497'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2531964'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-68497'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-68497'
  - url: 'https://access.redhat.com/errata/RHSA-2026:71675'
tags:
  - nvd
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
epss: 0.00581
epssPercentile: 0.45419
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-11T16:26:23.881034Z'
ingestedAt: '2026-09-14T08:45:18.531Z'
patched:
  - build_of_apache_camel_4_18_4_for_spring_boot 3.5.16
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Important · affected: Exploit Intelligence, OpenShift Developer Tools and Services, OpenShift Serverless, Red Hat AI Inference Server, Red Hat AMQ Broker 7, Red Hat build of Apache Camel - HawtIO 4, … · no fix planned: Red Hat AI Inference Server, Red Hat JBoss Enterprise Application Platform 7, Red Hat OpenStack Platform 13 (Queens), Red Hat Ceph Storage 8, … · updated 2026-09-24 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68497.json)
- **RHSA-2026:71675** · Red Hat · fixed in: Red Hat build of Apache Camel 4.18.4 for Spring Boot 3.5.16 · released 2026-09-24 · [advisory](https://access.redhat.com/errata/RHSA-2026:71675)
