CVE-2026-122096

Apache DataSketches Java: Uncontrolled resource consumption when deserializing crafted sketch images

High published · updated

7.5
CVSS score out of 10 · NVD (134c704f-9b21-4f2e-91b3-4a467353bcc0)

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 products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
org.apache.datasketches:datasketches-java maven ≤9.0.0— CVE.org
apache datasketches java apache software foundation ≤9.0.0— CVE.org

References