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

Summary

CVECVE-2026-122096
StatePUBLISHED
Assignerapache
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-11 13:17:17 UTC
Updated2026-11-11 13:17:17 UTC
DescriptionUncontrolled 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

SourceVendorProductVersionPlatforms
CNA Apache Software Foundation Apache DataSketches Java affected 9.0.0 semver Not specified

References

ReferenceSourceLinkTags
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)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report