Skip to content
Heist/ feed
High

jackson-dataformats-binary: Smile parser does not enforce StreamReadConstraints.maxNameLength, enabling memory-exhaustion denial of service

Type: advisorySource: Official CVE List1 source record

The Smile 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. SmileParser._handleLongFieldName() grows its internal name buffer through an unconstrained _growArrayTo() call and performs no length validation. An attacker who can have a Smile 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 SmileFactory parsing, directly or through an ObjectMapper configured with the Smile 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 CBOR parser defect in the same vendor advisory, GHSA-3v8f-v6vx-fmrm, which covers both binary formats. The

Announced Group revision 1
Original source ↗

CVE-2026-68496

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-68496

jackson-dataformats-binary

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

jackson-dataformats-binary

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/FasterXML/jackson-dataformats-binary",
    "vendor": "FasterXML",
    "product": "jackson-dataformats-binary",
    "versions": [
      {
        "status": "affected",
        "version": "2.16.0",
        "versionType": "maven",
        "lessThanOrEqual": "2.18.9"
      },
      {
        "status": "affected",
        "version": "2.19.0",
        "versionType": "maven",
        "lessThanOrEqual": "2.21.5"
      },
      {
        "status": "affected",
        "version": "2.22.0",
        "versionType": "maven",
        "lessThanOrEqual": "2.22.1"
      }
    ],
    "packageName": "com.fasterxml.jackson.dataformat:jackson-dataformat-smile",
    "collectionURL": "https://repo1.maven.org/maven2",
    "defaultStatus": "unaffected",
    "programRoutines": [
      {
        "name": "com.fasterxml.jackson.dataformat.smile.SmileParser._handleLongFieldName"
      }
    ]
  },
  {
    "repo": "https://github.com/FasterXML/jackson-dataformats-binary",
    "vendor": "FasterXML",
    "product": "jackson-dataformats-binary",
    "versions": [
      {
        "status": "affected",
        "version": "3.0.0",
        "versionType": "maven",
        "lessThanOrEqual": "3.1.5"
      },
      {
        "status": "affected",
        "version": "3.2.0",
        "versionType": "maven",
        "lessThanOrEqual": "3.2.1"
      }
    ],
    "packageName": "tools.jackson.dataformat:jackson-dataformat-smile",
    "collectionURL": "https://repo1.maven.org/maven2",
    "defaultStatus": "unaffected",
    "programRoutines": [
      {
        "name": "tools.jackson.dataformat.smile.SmileParser._handleLongFieldName"
      }
    ]
  }
]
Related CVEs
CVE-2026-68496

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#7623 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement