Skip to content
Back

CVE-2026-123338: out-of-bounds write in REQ sketch deserialization in Apache DataSketches C++

Apache published a moderate security advisory for Apache DataSketches C++ 3.0.0 through 5.3.0: a crafted REQ sketch can corrupt heap memory during deserialization of untrusted data.

WRP Consultoria e Informática · Updated18 days ago

Source: CVE-2026-123338: Apache DataSketches C++ — gravação fora dos limites na desserialização de sketch REQ causa corrupção de memória (seclists.org). Text prepared with AI from this source.

What happened and what to do

The advisory, published by Lee Rhodes on 12 November 2026 on the oss-sec list, rates the out-of-bounds write vulnerability in Apache DataSketches C++ as moderate. The flaw affects versions 3.0.0 through 5.3.0. An application that deserializes a REQ sketch from an untrusted source can have its heap memory corrupted by a sketch crafted for that purpose, because the serialized compressor headers are not validated.

In practice, any service that receives statistical sketches from customers, partners or external pipelines should treat that data as hostile input. A practical step is to inventory where the library is used, identify the versions in production and plan the upgrade to a fixed release once available. Meanwhile, the deserialization step can be isolated, the origin of the data validated before decoding, and crashes or unexpected process terminations monitored.

How the consultancy can help

We can run an exposure diagnosis of DataSketches C++ across your systems, mapping where sketches are deserialized and which versions are in use. We then design and implement isolation of those entry points, source validation, failure monitoring and an upgrade plan operated with your team.

Next step

If your company uses Apache DataSketches C++ in processes that receive external data, send a short description of your case, including where the library runs and where the sketches come from. We reply with a scoped proposal.

Cyber, vulnerabilities & governance · WRP

Need to assess technical exposure or run continuous monitoring?

Start with an evidence-backed audit of your domains, headers, email authentication, or AI tooling and move into SLA-backed managed operations.