Apache DataSketches Java: Uncontrolled resource consumption when deserializing crafted sketch images
Summary
| CVE | CVE-2026-122096 |
|---|---|
| State | PUBLISHED |
| Assigner | apache |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-11 13:17:17 UTC |
| Updated | 2026-11-11 13:17:17 UTC |
| Description | Uncontrolled Resource Consumption vulnerability in the sketch deserialization of Apache DataSketches Java. Several deserializers trusted sizes and counts declared in the serialized input. A small crafted input could make an application allocate an excessive amount of memory, leading to an OutOfMemoryError. A crafted string passed to FrequentLongsSketch.getInstance(String) could also make deserialization, or a later update, loop indefinitely. Only applications that deserialize sketches from untrusted sources are affected. This issue affects Apache DataSketches Java: through 9.0.0. Users are recommended to upgrade to version 9.1.0, which fixes the issue. |
Risk And Classification
Problem Types: CWE-400 | CWE-789 | CWE-835 | CWE-400 CWE-400 | CWE-789 CWE-789 Memory allocation with excessive size value | CWE-835 CWE-835 Loop with unreachable exit condition ('infinite loop')
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Apache Software Foundation | Apache DataSketches Java | affected 9.0.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/apache/datasketches-java/pull/777 | [email protected] | github.com | |
| www.openwall.com/lists/oss-security/2026/11/10/29 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| lists.apache.org/thread/9wd7ngmho7hm8x74sq1p2fp1xgjd8kt6 | [email protected] | lists.apache.org | |
| github.com/apache/datasketches-java/pull/783 | [email protected] | github.com | |
| github.com/apache/datasketches-java/releases/tag/9.1.0 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Jaideep Pyne (en)
There are currently no legacy QID mappings associated with this CVE.