CVE-2026-122096Apache DataSketches Java: Uncontrolled resource consumption when deserializing crafted…
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache DataSketches Java: affected: up to 9.0.0
Vendor advisories:
- https://github.com/apache/datasketches-java/releases/tag/9.1.0 (release-notes)
- https://github.com/apache/datasketches-java/pull/777 (patch)
- https://github.com/apache/datasketches-java/pull/783 (patch)
- https://lists.apache.org/thread/9wd7ngmho7hm8x74sq1p2fp1xgjd8kt6 (vendor-advisory)
References
- https://github.com/apache/datasketches-java/releases/tag/9.1.0
- https://github.com/apache/datasketches-java/pull/777
- https://github.com/apache/datasketches-java/pull/783
- https://lists.apache.org/thread/9wd7ngmho7hm8x74sq1p2fp1xgjd8kt6
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.