CVEfocus › CVE database › CVE-2026-104895

CVE-2026-104895jackson-dataformat-smile: unbounded eager byte[] allocation for raw binary in the async…

CVSS 7.5 HighEPSS 0.5% (higher than 32% of CVEs)Published 2026-10-28Updated 2026-11-04Assigner: HeroDevs

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.

CWE-789

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

1Fixed
6Fix pending
3Under investigation
8Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10jackson-dataformat-smileFix pendingUBUNTU-CVE-2026-104895
Ubuntu 26.04jackson-dataformat-smileUnder investigationUBUNTU-CVE-2026-104895
Ubuntu 24.04jackson-dataformat-smileUnder investigationUBUNTU-CVE-2026-104895
Ubuntu 22.04jackson-dataformat-smileUnder investigationUBUNTU-CVE-2026-104895
Ubuntu 20.04jackson-dataformat-smileFix pendingUBUNTU-CVE-2026-104895
Ubuntu 18.04jackson-dataformat-smileFix pendingUBUNTU-CVE-2026-104895
Ubuntu 16.04jackson-dataformat-smileFix pendingUBUNTU-CVE-2026-104895
Debian 14jackson-dataformats-binaryFixed2.22.4-1DEBIAN-CVE-2026-104895
Debian 13jackson-dataformat-smileFix pendingDEBIAN-CVE-2026-104895
Debian 12jackson-dataformat-smileFix pendingDEBIAN-CVE-2026-104895
Red Hat Enterprise Linux 9jackson-jaxrs-providersNot affected
Red Hat Enterprise Linux 9pki-jackson-jaxrs-json-providerNot affected
Red Hat Enterprise Linux 9pki-jackson-jaxrs-providersNot affected
Red Hat Enterprise Linux 8jackson-jaxrs-json-providerNot affected
Red Hat Enterprise Linux 8jackson-jaxrs-providersNot affected
Red Hat Enterprise Linux 8jackson-jaxrs-providers-datatypesNot affected
Red Hat Enterprise Linux 8jackson-jaxrs-providers-javadocNot affected
Red Hat Enterprise Linux 8jackson-jaxrs-providers-parentNot 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.

Vendor advisories:

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.