CVE-2026-104895Fasterxml Jackson-dataformat-smile vulnerability
CVSS score
7.5
High
CVSS 3.1 from 36c7be3b-2937-45df-85ea-ca7133ea542c
Exploit probability (EPSS)
0.38%
0.38% chance of exploitation in the next 30 days, higher than 32.8% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: 36c7be3b-2937-45df-85ea-ca7133ea542c
How to fix it, step by step
Check whether you're affected
Find every system running FasterXML Jackson-dataformat-smile and compare its version with the affected versions.
Update to a fixed version
- Update Jackson-dataformat-smile to 2.18.12, 2.21.8, 2.22.4, 3.1.8 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| FasterXML Jackson-dataformat-smile | ≥ 2.9.0, < 2.18.12 · ≥ 2.19.0, < 2.21.8 · ≥ 2.22.0, < 2.22.4 · ≥ 3.0.0, < 3.1.8 · ≥ 3.2.0, < 3.2.4 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-104895 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-104895?
CVE-2026-104895 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Fasterxml Jackson-dataformat-smile (≥ 2.9.0, < 2.18.12; ≥ 2.19.0, < 2.21.8; ≥ 2.22.0, < 2.22.4; ≥ 3.0.0, < 3.1.8; ≥ 3.2.0, < 3.2.4)
Is there a patch for CVE-2026-104895?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.