jackson-dataformats-binary: Smile parser does not enforce StreamReadConstraints.maxNameLength, enabling memory-exhaustion denial of service (FasterXML jackson-dataformats-binary)
En bref
- Source
- NVD
- EPSS
- EPSS 0.56 % · centile 48 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- HeroDevs
- Produits affectés
- FasterXML · jackson-dataformats-binary
- Statut NVD
- Awaiting Analysis
Rechercher sur…
Description
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.
Faiblesses (CWE)
- CWE-770 — Allocation de ressources sans limite ni régulation
- CWE-400 — Consommation de ressources non maîtrisée (déni de service)
Crédits
- tinyb0y découverte
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | HeroDevs |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · 36c7be3b-2937-45df-85ea-ca7133ea542c (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-90978
- GCVE · GCVE-0-2026-68496
Avis du CERT-FR
- CERTFR-2026-AVI-1486 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1472 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
FasterXML · jackson-dataformats-binarycom.fasterxml.jackson.dataformat:jackson-dataformat-smile | affectée : ≥ 2.16.0 ≤ 2.18.9 affectée : ≥ 2.19.0 ≤ 2.21.5 affectée : ≥ 2.22.0 ≤ 2.22.1 Autres versions : non affectée |
FasterXML · jackson-dataformats-binarytools.jackson.dataformat:jackson-dataformat-smile | affectée : ≥ 3.0.0 ≤ 3.1.5 affectée : ≥ 3.2.0 ≤ 3.2.1 Autres versions : non affectée |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |