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

Home › News › Apache

Advisory High CVE Analysis

Apache DataSketches C++ Flaw Lets Crafted REQ Sketches Corrupt Heap Memory

Apache has disclosed CVE-2026-123338, an out-of-bounds write flaw in REQ sketch deserialization in Apache DataSketches C++, rated moderate. According to the report, it is fixed in version 5.3.1.

ApacheWebVulnerabilities

Key points

  • Apache DataSketches C++ versions 3.0.0 through 5.3.0 are affected by CVE-2026-123338.
  • The flaw is an out-of-bounds write during REQ sketch deserialization that can corrupt heap memory.
  • Exposure is tied to deserializing REQ sketches from untrusted sources.
  • The fix is in version 5.3.1, which the project recommends.

According to a post by Lee Rhodes on the oss-security list, dated November 12, Apache DataSketches C++ contains an out-of-bounds write flaw, tracked as CVE-2026-123338 and rated moderate. The problem lies in how the library deserializes REQ sketches. An application that loads such a sketch from an untrusted source can have its heap memory corrupted by a maliciously built sketch, because the serialized compactor headers are not checked. The affected range is versions 3.0.0 through 5.3.0. The National Vulnerability Database entry for the CVE says the project recommends upgrading to version 5.3.1, which fixes the issue. The sources do not describe a workaround for systems that cannot upgrade right away, and they do not mention any observed exploitation. For the full advisory, see the original oss-security posting.

What to do

  1. Upgrade Apache DataSketches C++ to version 5.3.1.
  2. Identify applications that deserialize REQ sketches, and prioritise any that accept input from untrusted sources.
  3. Check the original oss-security posting and NVD entry for further guidance, as the sources give no workaround.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

oss-securityseclists.org

“CVE-2026-123338: Apache DataSketches C++: Out-of-bounds write in REQ sketch deserialization allows memory corruption via a crafted sketch”

Posted by Lee Rhodes on Nov 12 Severity: moderate Affected versions: - Apache DataSketches C++ 3.0.0 through 5.3.0 Description: 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 validated. This issue affects Apache…

Vulnerabilities mentioned

More on this topic