CVE-2026-104895jackson-dataformat-smile: unbounded eager byte[] allocation for raw binary in the async…
The asynchronous Smile parser (NonBlockingByteArrayParser) uses a raw-binary length prefix taken from untrusted input to allocate a byte[] before the body is read, with no upper bound and no overflow check. On the raw-binary marker 0xFD, _decodeVInt() computes (value << 6) + (i & 0x3F) without the (value >>> 25) != 0 overflow guard present in the blocking SmileParser._readUnsignedVInt, and _startRawBinary then allocates the declared length immediately. A Smile feed of roughly ten bytes can therefore force an eager allocation of approximately 2 GB, producing an OutOfMemoryError on reactive or asynchronous Smile endpoints. A VInt crafted to overflow int yields a negative length and a NegativeArraySizeException, a RuntimeException that is not a JacksonException and so escapes the parser contract. Either outcome crashes the request or processing thread. This is the same class of issue as CVE-2020-28491 in the CBOR parser of this library, which was fixed with a LONGEST_NON_CHUNKED_BINARY guard; the asynchronous Smile parser never received the equivalent guard. No privileges or user interaction beyond the ability to submit data for parsing are required.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jackson-dataformat-smile | Fix pending | UBUNTU-CVE-2026-104895 | |
| Ubuntu 26.04 | jackson-dataformat-smile | Under investigation | UBUNTU-CVE-2026-104895 | |
| Ubuntu 24.04 | jackson-dataformat-smile | Under investigation | UBUNTU-CVE-2026-104895 | |
| Ubuntu 22.04 | jackson-dataformat-smile | Under investigation | UBUNTU-CVE-2026-104895 | |
| Ubuntu 20.04 | jackson-dataformat-smile | Fix pending | UBUNTU-CVE-2026-104895 | |
| Ubuntu 18.04 | jackson-dataformat-smile | Fix pending | UBUNTU-CVE-2026-104895 | |
| Ubuntu 16.04 | jackson-dataformat-smile | Fix pending | UBUNTU-CVE-2026-104895 | |
| Debian 14 | jackson-dataformats-binary | Fixed | 2.22.4-1 | DEBIAN-CVE-2026-104895 |
| Debian 13 | jackson-dataformat-smile | Fix pending | DEBIAN-CVE-2026-104895 | |
| Debian 12 | jackson-dataformat-smile | Fix pending | DEBIAN-CVE-2026-104895 | |
| Red Hat Enterprise Linux 9 | jackson-jaxrs-providers | Not affected | ||
| Red Hat Enterprise Linux 9 | pki-jackson-jaxrs-json-provider | Not affected | ||
| Red Hat Enterprise Linux 9 | pki-jackson-jaxrs-providers | Not affected | ||
| Red Hat Enterprise Linux 8 | jackson-jaxrs-json-provider | Not affected | ||
| Red Hat Enterprise Linux 8 | jackson-jaxrs-providers | Not affected | ||
| Red Hat Enterprise Linux 8 | jackson-jaxrs-providers-datatypes | Not affected | ||
| Red Hat Enterprise Linux 8 | jackson-jaxrs-providers-javadoc | Not affected | ||
| Red Hat Enterprise Linux 8 | jackson-jaxrs-providers-parent | Not affected |
What the vendor says
As published in the CVE record by HeroDevs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FasterXML jackson-dataformat-smile: affected: 2.9.0 to before 2.18.12, 2.18.12 not affected, 2.19.0 to before 2.21.8, 2.21.8 not affected, 2.22.0 to before 2.22.4, 2.22.4 not affected; fixed in
2.18.12,2.21.8,2.22.4 - FasterXML jackson-dataformat-smile: affected: 3.0.0 to before 3.1.8, 3.1.8 not affected, 3.2.0 to before 3.2.4, 3.2.4 not affected; fixed in
3.1.8,3.2.4
Vendor advisories:
- https://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-h3c2-2m4… (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.