CVE-2026-104895

jackson-dataformat-smile: unbounded eager byte[] allocation for raw binary in the async parser allows OutOfMemoryError denial of service

7.5 high EPSS 0.38%

Published 28 Oct 2026 Updated 4 Nov 2026 CNA: HeroDevs

Check your servers for CVE-2026-104895

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-104895 affects jackson-dataformat-smile, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Severity (CVSS)

7.5 high CVSS 3.1 from HeroDevs (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.38%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 34.1% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 4 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Weakness

  • CWE-789 Memory Allocation with Excessive Size Value

Affected products

As the CNA lists them.

ProductVersions
jackson-dataformat-smile
package com.fasterxml.jackson.dataformat:jackson-dataformat-smile
affected from 2.9.0, before 2.18.12
unaffected 2.18.12
affected from 2.19.0, before 2.21.8
unaffected 2.21.8
affected from 2.22.0, before 2.22.4
unaffected 2.22.4
Other versions: unaffected
jackson-dataformat-smile
package tools.jackson.dataformat:jackson-dataformat-smile
affected from 3.0.0, before 3.1.8
unaffected 3.1.8
affected from 3.2.0, before 3.2.4
unaffected 3.2.4
Other versions: unaffected

Is my server affected?

Find the installed version of jackson-dataformat-smile and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i jackson-dataformat-smile
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-104895 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-104895

RHEL, Rocky, Alma, Fedora

rpm -q jackson-dataformat-smile
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-104895

Alpine

apk list --installed | grep -i jackson-dataformat-smile

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-104895
trivy image --scanners vuln IMAGE | grep CVE-2026-104895

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Source: the record CVE-2026-104895 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.