Vulnerability · Published Oct 16, 2026 · Assigned by HeroDevs

CVE-2026-68498jackson-core: Delayed maxNameLength enforcement for char-backed input (ReaderBasedJsonParser) allows memory-exhaustion denial of service

High 7.5

In plain English

A high-severity uncontrolled resource consumption in jackson-core from FasterXML. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.7%top 48.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

StreamReadConstraints.maxNameLength (default 50,000 characters) is intended to bound how much memory a single JSON Object property name can consume while being parsed, independently of the much larger maxStringLength (default 100,000,000 characters) that bounds ordinary string values. For parsers built over character input — Reader, String or char[] sources, all served by ReaderBasedJsonParser — that bound is not applied while the name is being accumulated. The code path instead re-uses the string-value length check, which is roughly 2000x larger by default. In the character-input slow path, ReaderBasedJsonParser._parseName2() accumulates the name into the TextBuffer and, when a segment fills, calls TextBuffer.finishCurrentSegment(), which validates only maxStringLength. The correct check, StreamReadConstraints.validateNameLength(int), is reached afterwards in CharsToNameCanonicalizer.findSymbol(), once the entire name has been scanned to its closing quote. By that point the full name — up to maxStringLength characters — has already been buffered in memory. A remote attacker who can have a single sufficiently long JSON Object property name parsed through this path can force allocation on the order of 100,000,000 characters (approximately 200 MB, with segment bookkeeping pushing real peak usage higher) before any StreamConstraintsException is thrown, instead of the approximately 50,000-character (about 100 KB) bound the API promises. Repeating this across concurrent requests can exhaust the heap and crash the process. No authentication or user interaction is required. Because StreamReadConstraints.maxDocumentLength is disabled by default (-1), nothing else bounds the token first, so the issue is exploitable under default configuration. Byte-input parsers are not affected: UTF8StreamJsonParser, UTF8DataInputJsonParser and the non-blocking (async) parsers re-validate maxNameLength on every growth of the name-decode buffer via ParserBase._growNameDecodeBuffer(), rejecting an oversized name after allocating only tens of kilobytes. Applications are exposed when untrusted JSON is parsed from a String, Reader or char[] — for example an HTTP request body already read into a String — rather than from raw UTF-8 bytes. This issue affects com.fasterxml.jackson.core:jackson-core from 2.16.0 and tools.jackson.core:jackson-core from 3.0.0. Releases before 2.16.0 are not affected, because StreamReadConstraints.maxNameLength was first introduced in jackson-core 2.16.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8apache-commons-collections3.2.2-10.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8apache-commons-lang2.6-21.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8apache-commons-net3.6-3.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8bea-stax-api1.2.0-16.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8glassfish-fastinfoset1.2.13-9.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8glassfish-jaxb-api2.2.12-8.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8glassfish-jaxb-core2.2.11-12.module_el8.10.0+3791+e0637953ALSA-2026:90909
AlmaLinux:8glassfish-jaxb-runtime2.2.11-12.module_el8.10.0+3791+e0637953ALSA-2026:90909
AlmaLinux:8glassfish-jaxb-txw22.2.11-12.module_el8.10.0+3791+e0637953ALSA-2026:90909
AlmaLinux:8jackson-annotations2.21-1.module_el8.10.0+4235+0924958eALSA-2026:90909
AlmaLinux:8jackson-core2.21.4-1.module_el8.10.0+4329+908ad137.3ALSA-2026:90909
AlmaLinux:8jackson-databind2.21.4-1.module_el8.10.0+4329+908ad137.1ALSA-2026:90909
AlmaLinux:8jackson-jaxrs-json-provider2.21.4-1.module_el8.10.0+4235+0924958eALSA-2026:90909
AlmaLinux:8jackson-jaxrs-providers2.21.4-1.module_el8.10.0+4235+0924958eALSA-2026:90909
AlmaLinux:8jackson-module-jaxb-annotations2.21.4-2.module_el8.10.0+4235+0924958eALSA-2026:90909
AlmaLinux:8jakarta-commons-httpclient1:3.1-28.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8javassist3.18.1-8.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8javassist-javadoc3.18.1-8.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8pki-servlet-engine1:9.0.62-1.module_el8.10.0+3791+e0637953ALSA-2026:90909
AlmaLinux:8relaxngDatatype2011.1-7.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8slf4j1.7.25-4.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8slf4j-jdk141.7.25-4.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8stax-ex1.7.7-8.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8velocity1.7-24.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8xalan-j22.7.1-38.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8xerces-j22.11.0-34.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8xml-commons-apis1.4.01-25.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8xml-commons-resolver1.2-26.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8xmlstreambuffer1.5.4-8.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
AlmaLinux:8xsom0-19.20110809svn.module_el8.5.0+2577+9e95fe00ALSA-2026:90909
Debian:12jackson-coreno fix listedDEBIAN-CVE-2026-68498
Debian:13jackson-coreno fix listedDEBIAN-CVE-2026-68498
Debian:14jackson-core2.18.11-1DEBIAN-CVE-2026-68498
Rocky Linux:8apache-commons-collections0:3.2.2-10.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8apache-commons-collections0:3.2.2-10.module+el8.3.0+74+855e3f5dRLSA-2026:90909
Rocky Linux:8apache-commons-collections0:3.2.2-10.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8apache-commons-lang0:2.6-21.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8apache-commons-lang0:2.6-21.module+el8.3.0+74+855e3f5dRLSA-2026:90909
Rocky Linux:8apache-commons-net0:3.6-3.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8apache-commons-net0:3.6-3.module+el8.3.0+74+855e3f5dRLSA-2026:90909
Rocky Linux:8apache-commons-net0:3.6-3.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8bea-stax0:1.2.0-16.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8bea-stax0:1.2.0-16.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8glassfish-fastinfoset0:1.2.13-9.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8glassfish-fastinfoset0:1.2.13-9.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8glassfish-jaxb0:2.2.11-12.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8glassfish-jaxb0:2.2.11-12.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8glassfish-jaxb-api0:2.2.12-8.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8glassfish-jaxb-api0:2.2.12-8.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8jackson-annotations0:2.21-1.module+el8.10.0+40260+021059e6RLSA-2026:90909
Rocky Linux:8jackson-core0:2.21.4-1.module+el8.10.0+40398+3ebe5a98.3RLSA-2026:90909
Rocky Linux:8jackson-core0:2.21.4-1.module+el8.10.0+40260+021059e6RLSA-2026:90909
Rocky Linux:8jackson-databind0:2.21.4-1.module+el8.10.0+40398+3ebe5a98.1RLSA-2026:90909
Rocky Linux:8jackson-databind0:2.21.4-1.module+el8.10.0+40260+021059e6RLSA-2026:90909
Rocky Linux:8jackson-jaxrs-providers0:2.21.4-1.module+el8.10.0+40260+021059e6RLSA-2026:90909
Rocky Linux:8jackson-modules-base0:2.21.4-2.module+el8.10.0+40260+021059e6RLSA-2026:90909
Rocky Linux:8jakarta-commons-httpclient1:3.1-28.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8jakarta-commons-httpclient1:3.1-28.module+el8.3.0+74+855e3f5dRLSA-2026:90909
Rocky Linux:8jakarta-commons-httpclient1:3.1-28.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8javassist0:3.18.1-8.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8javassist0:3.18.1-8.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8javassist0:3.18.1-8.module+el8.3.0+74+855e3f5dRLSA-2026:90909
Rocky Linux:8pki-servlet-engine1:9.0.62-1.module+el8.10.0+1767+f923f786RLSA-2026:90909
Rocky Linux:8pki-servlet-engine1:9.0.62-1.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8relaxngDatatype0:2011.1-7.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8relaxngDatatype0:2011.1-7.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8slf4j0:1.7.25-4.module+el8.3.0+74+855e3f5dRLSA-2026:90909
Rocky Linux:8slf4j0:1.7.25-4.module+el8.10.0+2003+8aeac9cbRLSA-2026:90909
Rocky Linux:8slf4j0:1.7.25-4.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8slf4j0:1.7.25-4.module+el8.6.0+843+5a13dac3RLSA-2026:90909
Rocky Linux:8slf4j0:1.7.25-4.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8stax-ex0:1.7.7-8.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8stax-ex0:1.7.7-8.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8velocity0:1.7-24.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8velocity0:1.7-24.module+el8.3.0+74+855e3f5dRLSA-2026:90909
Rocky Linux:8velocity0:1.7-24.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8xalan-j20:2.7.1-38.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8xalan-j20:2.7.1-38.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8xalan-j20:2.7.1-38.module+el8.3.0+74+855e3f5dRLSA-2026:90909
Rocky Linux:8xerces-j20:2.11.0-34.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8xerces-j20:2.11.0-34.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8xerces-j20:2.11.0-34.module+el8.3.0+74+855e3f5dRLSA-2026:90909
Rocky Linux:8xml-commons-apis0:1.4.01-25.module+el8.3.0+74+855e3f5dRLSA-2026:90909
Rocky Linux:8xml-commons-apis0:1.4.01-25.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8xml-commons-apis0:1.4.01-25.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8xml-commons-apis0:1.4.01-25.module+el8.10.0+2003+8aeac9cbRLSA-2026:90909
Rocky Linux:8xml-commons-resolver0:1.2-26.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8xml-commons-resolver0:1.2-26.module+el8.3.0+74+855e3f5dRLSA-2026:90909
Rocky Linux:8xml-commons-resolver0:1.2-26.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8xmlstreambuffer0:1.5.4-8.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Rocky Linux:8xmlstreambuffer0:1.5.4-8.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8xsom0:0-19.20110809svn.module+el8.10.0+2052+1b0fb438RLSA-2026:90909
Rocky Linux:8xsom0:0-19.20110809svn.module+el8.10.0+1763+c7c02164RLSA-2026:90909
Ubuntu:22.04:LTSjackson-coreno fix listedUBUNTU-CVE-2026-68498
Ubuntu:24.04:LTSjackson-coreno fix listedUBUNTU-CVE-2026-68498
Ubuntu:26.04:LTSjackson-coreno fix listedUBUNTU-CVE-2026-68498
Ubuntu:26.10jackson-coreno fix listedUBUNTU-CVE-2026-68498

Affected products (as reported)

VendorProductVersions
FasterXML jackson-core 2.16.0 – before 2.18.102.19.0 – before 2.21.62.22.0 – before 2.22.2
FasterXML jackson-core 3.0.0 – before 3.1.63.2.0 – before 3.2.2

Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References