CVE-2026-104895
Last modified
CVE-2026-104895 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.38% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| FasterXML | jackson-dataformat-smile | >= 2.9.0, < 2.18.12; >= 2.19.0, < 2.21.8; >= 2.22.0, < 2.22.4 |
| FasterXML | jackson-dataformat-smile | >= 3.0.0, < 3.1.8; >= 3.2.0, < 3.2.4 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-104895?
How severe is CVE-2026-104895?
How do I fix CVE-2026-104895?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-104887Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-104890Kunstmaan CMS is an open source content management system ba…7.2
- CVE-2026-104891mppx-condition-gate provides conditional free-access wrapper…7.5
- CVE-2026-104892Plane is an open-source project management tool. Prior to 1.…8.7
- CVE-2026-104893Plane is an open-source project management tool. Prior to 1.…5.4
- CVE-2026-104894Plane is an open-source project management tool. Prior to 1.…4.3
- CVE-2026-104898The Online Scheduling and Appointment Booking System – Bookl…6.8
- CVE-2026-104899The GeoDirectory – WP Business Directory Plugin and Classifi…8.1
- CVE-2026-1049A security vulnerability has been detected in LigeroSmart up…5.4
- CVE-2026-104900MISP contains a stored cross-site scripting (XSS) vulnerabil…5.3
- CVE-2026-104901MISP contains a cross-site scripting (XSS) vulnerability in …5.1
- CVE-2026-104905FacturaScripts before version 2026.7 contains a PHP object i…8.1
Are you affected by CVE-2026-104895?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
