CVE-2026-68497
Last modified
CVE-2026-68497 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| FasterXML | jackson-databind | >= 2.0.0, < 2.18.10; >= 2.19.0, < 2.21.6; >= 2.22.0, < 2.22.2 |
| FasterXML | jackson-databind | >= 3.0.0, < 3.1.6; >= 3.2.0, < 3.2.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-68497?
How severe is CVE-2026-68497?
How do I fix CVE-2026-68497?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-68481In Apache CXF's DefaultEncryptingOAuthDataProvider, revoked …7.5
- CVE-2026-68484Cash Collect contains an improper authorization vulnerabilit…9
- CVE-2026-68487Path traversal in Plesk's Backup Manager causes arbitrary fi…9.9
- CVE-2026-68488A Time-of-check Time-of-use (TOCTOU) race condition leading …9.9
- CVE-2026-6849Improper neutralization of special elements used in an OS co…8.8
- CVE-2026-68494The fix released in jackson-core 2.18.6 and 2.21.1 for CVE-2…8.7
- CVE-2026-68499re2 provides Node.js bindings for Google's RE2 regular expre…6.2
- CVE-2026-6850Mattermost versions 11.7.x <= 11.7.2, 11.6.x <= 11.6.4, 10.1…6.5
- CVE-2026-68500Sylius Mollie Plugin provides Mollie payment integration for…7.5
- CVE-2026-68501Sylius Mollie Plugin provides Mollie payment integration for…6.5
- CVE-2026-68502LazyOwn RedTeam/APT Framework is an AI-powered C2 and red-te…9.8
- CVE-2026-68503LazyOwn RedTeam/APT Framework is an AI-powered C2 and red-te…9.8
Are you affected by CVE-2026-68497?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
