p PatchFirst

CVE-2026-104895

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

CVSS 7.5 · High · EPSS 0.5% · Public exploit · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="jackson-dataformat-smile"'
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="jackson-dataformats-binary"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • RHSA-2026:95656 · Red Hat satellite 6.17 el9, Red Hat satellite capsule 6.17 el9 ·
  • RHSA-2026:95657 · Red Hat satellite 6.18 el9, Red Hat satellite capsule 6.18 el9 ·
  • RHSA-2026:95655 · Red Hat satellite 6.16 el8, Red Hat satellite 6.16 el9, Red Hat satellite capsule 6.16 el8, Red Hat satellite capsule 6.16 el9 ·
  • RHSA-2026:95652 · Red Hat satellite 6.19 el9, Red Hat satellite capsule 6.19 el9 ·

Stack: system

Affected products and versions

  • jackson-dataformat-smile

    Versions
    • ≥ 2.9.0, < 2.18.12: Affected (maven)
    • 2.18.12: Not affected (maven)
    • ≥ 2.19.0, < 2.21.8: Affected (maven)
    • 2.21.8: Not affected (maven)
    • ≥ 2.22.0, < 2.22.4: Affected (maven)
    • 2.22.4: Not affected (maven)

    Update to 2.18.12; Update to 2.21.8; Update to 2.22.4

  • jackson-dataformat-smile

    Versions
    • ≥ 3.0.0, < 3.1.8: Affected (maven)
    • 3.1.8: Not affected (maven)
    • ≥ 3.2.0, < 3.2.4: Affected (maven)
    • 3.2.4: Not affected (maven)

    Update to 3.1.8; Update to 3.2.4

  • jackson-dataformat-smile Debian 12

    Versions
    • 2.7.8-5
    • 2.7.8-5+deb12u1
    • 2.7.8-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-dataformat-smile Debian 13

    Versions
    • 2.7.8-5
    • 2.7.8-5+deb13u1
    • 2.7.8-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-dataformats-binary Debian 14

    Versions
    • 2.18.11-1
    Affected ranges
    • ECOSYSTEM: < 2.22.4-1

    Update to 2.22.4-1

  • jackson-dataformat-smile Ubuntu 16.04 LTS

    Versions
    • 2.4.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-dataformat-smile Ubuntu 18.04 LTS

    Versions
    • 2.7.8-1
    • 2.7.8-2
    • 2.7.8-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-dataformat-smile Ubuntu 20.04 LTS

    Versions
    • 2.7.8-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-dataformat-smile Ubuntu 22.04 LTS

    Versions
    • 2.7.8-3
    • 2.7.8-4
    • 2.7.8-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-dataformat-smile Ubuntu 24.04 LTS

    Versions
    • 2.7.8-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-dataformat-smile Ubuntu 26.10

    Versions
    • 2.7.8-5build1
    • 2.7.8-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • jackson-dataformat-smile Ubuntu 26.04 LTS

    Versions
    • 2.7.8-5
    • 2.7.8-5build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →