CVE-2026-68496

Source
https://cve.org/CVERecord?id=CVE-2026-68496
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68496.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-68496
Aliases
Downstream
Related
Published
2026-10-01T17:36:57Z
Modified
2026-10-02T03:56:00Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
jackson-dataformats-binary: Smile parser does not enforce StreamReadConstraints.maxNameLength, enabling memory-exhaustion denial of service
Details

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 Smile parser defect (jackson-dataformats-binary issue #726) is CVE-2026-68496; the CBOR parser defect (issue #725) is assigned CVE-2026-68495.

Database specific
{
    "cna_assigner": "HeroDevs",
    "cwe_ids": [
        "CWE-400",
        "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68496.json"
}
References

Affected packages

Git / github.com/fasterxml/jackson-dataformats-binary

Affected ranges

Type
GIT
Repo
https://github.com/fasterxml/jackson-dataformats-binary
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "2.16.0"
        },
        {
            "last_affected": "2.18.9"
        },
        {
            "introduced": "2.19.0"
        },
        {
            "last_affected": "2.21.5"
        },
        {
            "introduced": "2.22.0"
        },
        {
            "last_affected": "2.22.1"
        },
        {
            "introduced": "3.0.0"
        },
        {
            "last_affected": "3.1.5"
        },
        {
            "introduced": "3.2.0"
        },
        {
            "last_affected": "3.2.1"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

jackson-dataformats-binary-2.*
jackson-dataformats-binary-2.16.0
jackson-dataformats-binary-2.17.0
jackson-dataformats-binary-2.17.0-rc1
jackson-dataformats-binary-2.18.0
jackson-dataformats-binary-2.18.0-rc1
jackson-dataformats-binary-2.18.1
jackson-dataformats-binary-2.18.2
jackson-dataformats-binary-2.18.3
jackson-dataformats-binary-2.18.4
jackson-dataformats-binary-2.18.5
jackson-dataformats-binary-2.18.6
jackson-dataformats-binary-2.18.7
jackson-dataformats-binary-2.18.8
jackson-dataformats-binary-2.18.9
jackson-dataformats-binary-2.19.0
jackson-dataformats-binary-2.20.0
jackson-dataformats-binary-2.20.0-rc1
jackson-dataformats-binary-2.21.0
jackson-dataformats-binary-2.21.1
jackson-dataformats-binary-2.21.2
jackson-dataformats-binary-2.21.3
jackson-dataformats-binary-2.21.4
jackson-dataformats-binary-2.21.5
jackson-dataformats-binary-2.22.0
jackson-dataformats-binary-2.22.1
jackson-dataformats-binary-3.*
jackson-dataformats-binary-3.0.0
jackson-dataformats-binary-3.0.1
jackson-dataformats-binary-3.1.0
jackson-dataformats-binary-3.1.0-rc1
jackson-dataformats-binary-3.1.1
jackson-dataformats-binary-3.1.2
jackson-dataformats-binary-3.1.3
jackson-dataformats-binary-3.1.4
jackson-dataformats-binary-3.1.5
jackson-dataformats-binary-3.2.0
jackson-dataformats-binary-3.2.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68496.json"