CVE-2026-104895

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

Published Oct 28, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The asynchronous Smile parser in jackson-dataformat-smile allocates a byte array for raw binary data based on a length prefix supplied by untrusted input. This prefix, parsed as an unsigned variable‐length integer, is used to allocate memory without an upper bound or overflow protection. An attacker can craft a VInt that requests the allocation of billions of bytes or a negative length, causing the parser to throw an OutOfMemoryError or a NegativeArraySizeException. Both outcomes crash the processing thread or request, resulting in a denial of service. This resource exhaustion flaw is identified as CWE‑789.

Affected Systems

All deployments of FasterXML's jackson-dataformat-smile that include the unpatched NonBlockingByteArrayParser are affected. No specific version range is provided in the advisory, so any installation lacking the LONGEST_NON_CHUNKED_BINARY guard is vulnerable.

Risk and Exploitability

The CVSS score of 7.5 reflects high severity for denial of service. Though the EPSS score is < 1%, the vulnerability can be exploited by any party able to submit Smile data to a vulnerable endpoint; no special privileges or user interaction are required. The flaw is not listed in CISA’s KEV catalog, indicating no known widespread exploitation at this time.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade jackson-dataformat-smile to the patched release that implements the LONGEST_NON_CHUNKED_BINARY guard for raw binary payloads.
  • If an immediate upgrade is infeasible, configure the application to reject or cap the size of raw binary inputs and disable the async Smile parser for untrusted data.
  • Continuously monitor application logs for OutOfMemoryError or NegativeArraySizeException incidents and isolate affected services until a patch is deployed.

Generated by OpenCVE AI on November 5, 2026 at 01:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title jackson-dataformat-smile: unbounded eager byte[] allocation for raw binary in the async parser allows OutOfMemoryError denial of service
Weaknesses CWE-789
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

  • CWE-789

    Memory Allocation with Excessive Size Value

Sources

Status
PUBLISHED
Assigner
HeroDevs
Published
Updated
Nov 4, 2026, 8:20 PM
Reserved
Oct 2, 2026, 3:02 PM
Status
Deferred
Published
Oct 28, 2026, 12:17 AM
Modified
Nov 4, 2026, 9:17 PM
Severity
Important
Public date
Oct 28, 2026, 12:01 AM