CVE-2026-68495
Last modified
CVE-2026-68495 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. The CBOR parser in FasterXML jackson-dataformats-binary never invokes StreamReadConstraints.validateNameLength() when decoding JSON object property names, so the maxNameLength limit is not enforced for this format. CBORParser._decodeLongerName() decodes a definite-length property name with no length check, and CBORParser._decodeChunkedName() delegates to the value-oriented _finishChunkedText() routine, which validates maxStringLength rather than maxNameLength. EPSS estimates a 0.67% chance of exploitation in the next 30 days.
Description
The CBOR parser in FasterXML jackson-dataformats-binary never invokes StreamReadConstraints.validateNameLength() when decoding JSON object property names, so the maxNameLength limit is not enforced for this format. CBORParser._decodeLongerName() decodes a definite-length property name with no length check, and CBORParser._decodeChunkedName() delegates to the value-oriented _finishChunkedText() routine, which validates maxStringLength rather than maxNameLength. An attacker who can have a CBOR document parsed may therefore embed a single property name of unbounded length; the parser buffers the whole name in memory before returning it, whatever maxNameLength is configured to. Because StreamReadConstraints.maxDocumentLength is also disabled by default, nothing else bounds the name under default settings, so the only limits are the attacker's upload capacity and available heap, leading to memory exhaustion and denial of service. No privileges beyond the ability to submit data to a parsing endpoint are required, and exploitation needs only that the bytes reach CBORFactory parsing, directly or through an ObjectMapper configured with the CBOR module. jackson-core's own JSON parsers enforce maxNameLength incrementally during name decoding; this gap is specific to the binary formats. maxNameLength and validateNameLength were introduced in jackson-core 2.16.0, so releases before 2.16.0 do not contain the constraint that is left unenforced. This issue is tracked together with the Smile parser defect in the same vendor advisory, GHSA-3v8f-v6vx-fmrm, which covers both binary formats. The CBOR parser defect (jackson-dataformats-binary issue #725) is CVE-2026-68495; the Smile parser defect (issue #726) is assigned CVE-2026-68496.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| FasterXML | jackson-dataformats-binary | >= 2.16.0, <= 2.18.9; >= 2.19.0, <= 2.21.5; >= 2.22.0, <= 2.22.1 |
| FasterXML | jackson-dataformats-binary | >= 3.0.0, <= 3.1.5; >= 3.2.0, <= 3.2.1 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-68495?
How severe is CVE-2026-68495?
How do I fix CVE-2026-68495?
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-6849Improper neutralization of special elements used in an OS co…8.8
- CVE-2026-68490Incorrect permission assignment allows local users to obtain…8.2
- CVE-2026-68491An insufficient check allowed for the overwrite of arbitrary…9.4
- CVE-2026-68492An untrusted search path vulnerability in Plesk from 18.0.34…8.7
- CVE-2026-68493After guessing a 62^15 complex unique identifier, a maliciou…3.1
- CVE-2026-68494The fix released in jackson-core 2.18.6 and 2.21.1 for CVE-2…8.7
- CVE-2026-68496The Smile parser in FasterXML jackson-dataformats-binary nev…7.5
- CVE-2026-68497jackson-databind binds a JSON string to a javax.xml.datatype…7.5
- CVE-2026-68498StreamReadConstraints.maxNameLength (default 50,000 characte…7.5
- 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
Are you affected by CVE-2026-68495?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
