CVE-2026-122096
Apache DataSketches Java: Uncontrolled resource consumption when deserializing crafted sketch images
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.datasketches » datasketches-javapreliminary | <= 9.0.0 | - |
Blast radius
76% of the dependent artifacts (760) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 6,516 |
| 2 hops | 37,376 |
| 3 hops | 13,371 |
| 4 hops | 5,591 |
| 5 hops | 1,938 |
| 6 hops | 377 |
Most used dependents
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-mllib831 usages
- org.apache.hive » hive-exec699 usages
- org.apache.spark » spark-hive633 usages
- org.apache.spark » spark-catalyst502 usages
- org.apache.hive » hive-metastore480 usages
- org.apache.hive » hive-jdbc404 usages
- org.apache.hive » hive-common305 usages
- org.apache.hive » hive-service301 usages
- org.apache.accumulo » accumulo-core213 usages
- org.apache.hive » hive-serde206 usages
- org.eclipse.rdf4j » rdf4j-repository-sail136 usages
- com.holdenkarau » spark-testing-base126 usages
- org.eclipse.rdf4j » rdf4j-sail-memory124 usages
- org.apache.oozie » oozie-core123 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Webhttp://www.openwall.com/lists/oss-security/2026/11/10/29
- Webhttps://repo.maven.apache.org/maven2
- Advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122096.json
- Advisoryhttps://github.com/apache/datasketches-java/releases/tag/9.1.0
- Advisoryhttps://lists.apache.org/thread/9wd7ngmho7hm8x74sq1p2fp1xgjd8kt6
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-122096
- Fixhttps://github.com/apache/datasketches-java/pull/777
- Fixhttps://github.com/apache/datasketches-java/pull/783
