# CVE-2026-122096: Apache DataSketches Java: Uncontrolled resource consumption when deserializing crafted sketch images

Status: published. Published: 2026-11-11. Updated: 2026-11-11.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: apache) — https://github.com/apache/datasketches-java/pull/777
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: apache) — https://github.com/apache/datasketches-java/pull/783

## Affected products and versions

- Apache Software Foundation / Apache DataSketches Java (org.apache.datasketches:datasketches-java): ≥ 0; ≤ 9.0.0 (affected, semver). Source: CNA: apache

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-400, CWE-789, CWE-835

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/apache/datasketches-java/releases/tag/9.1.0 (CNA: apache; release-notes)

- https://github.com/apache/datasketches-java/pull/777 (CNA: apache; patch)

- https://github.com/apache/datasketches-java/pull/783 (CNA: apache; patch)

- https://lists.apache.org/thread/9wd7ngmho7hm8x74sq1p2fp1xgjd8kt6 (CNA: apache; vendor-advisory)

- http://www.openwall.com/lists/oss-security/2026/11/10/29 (ADP: CVE)

## Provenance

- CNA: apache: https://www.cve.org/CVERecord?id=CVE-2026-122096; retrieved 2026-11-11; source updated 2026-11-11

Revision: 2c30f4f8a86fa5163d006fd02a828b9ed35309b8eb02fbde80628920082072cb

Canonical: https://y2.dev/cve/CVE-2026-122096

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.