CVE-2026-104895

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

  • High 7.5

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.

Key facts

Published
28 Oct 2026
Last changed
4 Nov 2026
Assigned by
HeroDevs
EPSS
0.38% likely to be exploited in the next 30 days, higher than 32.508% of CVEs (scores for 16 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: yes; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 7.5CVSS 3.1, Highfrom the CNA (HeroDevs)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

CAPEC-130 Excessive Allocation (CNA impact statement)

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
FasterXMLjackson-dataformat-smile
  • Default status: unaffected
  • 2.9.0 up to but excluding 2.18.12 (affected)
  • 2.18.12 (unaffected)
  • 2.19.0 up to but excluding 2.21.8 (affected)
  • 2.21.8 (unaffected)
  • 2.22.0 up to but excluding 2.22.4 (affected)
  • 2.22.4 (unaffected)
FasterXMLjackson-dataformat-smile
  • Default status: unaffected
  • 3.0.0 up to but excluding 3.1.8 (affected)
  • 3.1.8 (unaffected)
  • 3.2.0 up to but excluding 3.2.4 (affected)
  • 3.2.4 (unaffected)

Timeline

  1. 20 Oct 2026 GHSA-h3c2-2m49-r49w published by the maintainer in FasterXML/jackson-dataformats-binary
  2. 28 Oct 2026 Published

Weakness

References