Skip to main content

Heap buffer overflow in the HLL sketch deserialization of Apache DataSketches C++ (repo: datasketches-cpp). (CVE-2026-103501)

0
High
Published: 10/10/2026 (10/10/2026, 12:30:25 UTC)
Source: GCVE Database

Description

A heap buffer overflow vulnerability exists in the HLL sketch deserialization functionality of Apache DataSketches C++ prior to version 5.3.0. When deserializing a sketch in LIST mode, the coupon count from the input is used to copy entries into a fixed-size buffer of 8 entries without proper bounds checking. This can lead to writing up to 988 bytes beyond the buffer, corrupting heap memory and potentially causing crashes or further exploitation. Only applications deserializing HLL sketches from untrusted sources are affected. Upgrading to version 5.3.0 resolves this issue.

Affected software

GitHub Actionsmore threats →ai
apache/datasketches-cpp
pkg:github/apache/datasketches-cpp
Affected versions
>=1.0.0-incubating <5.3.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/10/2026, 21:30:04 UTC

Technical Analysis

The vulnerability (CVE-2026-103501) in Apache DataSketches C++ occurs during deserialization of HLL sketches in LIST mode. The coupon count read from the input is used unchecked to copy entries into a fixed internal heap buffer of 8 entries, allowing a crafted input to overflow this buffer by up to 988 bytes. This heap buffer overflow can corrupt memory, leading to application crashes and possibly enabling further exploitation. The affected versions are from 1.0.0-incubating up to but not including 5.3.0. The issue is relevant only when deserializing sketches from untrusted sources. The vendor fixed the issue in version 5.3.0.

Potential Impact

Heap memory corruption caused by the buffer overflow can result in application crashes and may allow attackers to execute further exploits depending on the context of use. The impact is limited to applications that deserialize HLL sketches from untrusted or malicious sources.

Mitigation Recommendations

Users should upgrade Apache DataSketches C++ to version 5.3.0 or later, where this vulnerability is fixed. Avoid deserializing HLL sketches from untrusted sources until the upgrade is applied.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-w656-xfm5-jqjh
Osv Schema Version
1.4.0
Aliases
["CVE-2026-103501"]
State
PUBLISHED

Threat ID: 6acaad832cdf04f6565142c3

Added to database: 10/10/2026, 21:26:27 UTC

Last enriched: 10/10/2026, 21:30:04 UTC

Last updated: 10/11/2026, 02:48:07 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses