Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › Apache

News 2 CVEs Analysis

Apache DataSketches C++ flaws let crafted sketches corrupt heap memory when deserialized

NVD published two out-of-bounds write vulnerabilities in Apache DataSketches C++, affecting REQ and KLL sketch deserialization from untrusted sources. Both are fixed in version 5.3.1, and neither record gives a severity score.

What to look into

  • 2 vulnerabilities in Apache Software Foundation Apache DataSketches C++: 2 unscored.
  • None of them is known to be exploited yet.
  • Start with CVE-2026-123338: Out-of-bounds Write vulnerability in Apache DataSketches C++. An application that deserializes a REQ sketch from an untrusted source can have heap memory corrupted by a crafted sketch, because the se… An attacker without an account can exploit this with local access, without any user action, but only under specific conditions.
  • 0 of 2 can be attacked over the network without logging in.
  • Kinds of flaws: Out-of-bounds Write (×2).
ApacheVulnerabilitiesWeb

Key points

  • Two out-of-bounds write flaws in Apache DataSketches C++, in REQ and KLL sketch deserialization.
  • Exploitation requires an application to deserialize a crafted sketch from an untrusted source.
  • CVE-2026-123338 (REQ) affects 3.0.0 through 5.3.0; CVE-2026-123274 (KLL) affects 2.0.0 through 5.3.0.
  • Both are fixed in version 5.3.1; neither record has a severity score.
  • The sources do not state any known exploitation or workaround.

What the batch covers

The National Vulnerability Database published two related vulnerabilities in Apache DataSketches C++ on 2026-11-13. Both are classified as out-of-bounds write issues. Both occur when an application deserializes a sketch from an untrusted source. In each case, a crafted sketch can corrupt heap memory because part of the serialized data is not validated.

The two flaws

CVE-2026-123338 affects the REQ sketch. According to the record, the serialized compactor headers were not validated. The affected range is stated as 3.0.0 through 5.3.0.

CVE-2026-123274 affects the KLL sketch. Here the record says the serialized level boundaries were not validated. The affected range is stated as 2.0.0 through 5.3.0.

Severity and exploitation

Neither NVD record includes a severity score, so the batch cannot be ranked by CVSS from these sources. The records do not state that either flaw has been exploited, and they do not describe a specific attack scenario or attacker.

Who is affected and what to do

The records say that users are recommended to upgrade to version 5.3.1, which fixes both issues. They do not give workarounds, configuration changes or detection guidance. Administrators running the C++ library in the stated ranges should plan the upgrade. Where untrusted input is deserialized, the sources do not describe any interim mitigation.

What to do

  1. Upgrade Apache DataSketches C++ to version 5.3.1, as recommended in both NVD records.
  2. Identify applications that deserialize REQ or KLL sketches from untrusted sources and prioritize them for the upgrade.

Our article about all 2 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 2 vulnerabilities

  • CVE-2026-123338 Out-of-bounds Write vulnerability in Apache DataSketches C++. An application that deserializes a REQ sketch from an untrusted source can have heap memory corrupted by a crafted sketch, because the serialized compactor headers were not vali…
  • CVE-2026-123274 A vulnerability in Apache DataSketches C++ allows for an out-of-bounds write, identified as CVE-2026-123274

Frequently asked questions

How many Apache Software Foundation Apache DataSketches C++ vulnerabilities were published on November 13, 2026?

2 vulnerabilities: 2 unscored.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-123338: Out-of-bounds Write vulnerability in Apache DataSketches C++. An application that deserializes a REQ sketch from an untrusted source can have heap memory corrupted by a crafted sketch, because the se…

Original records