Skip to main content

CVE-2026-103635: CWE-125 Out-of-bounds read in Apache Software Foundation Apache DataSketches

0
High
VulnerabilityCVE-2026-103635cvecve-2026-103635cwe-125cwe-190
Published: 10/10/2026 (10/10/2026, 10:23:48 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache DataSketches

Description

An out-of-bounds read vulnerability exists in Apache DataSketches C++ Theta sketch deserialization. The issue occurs because header fields are read before verifying input length, allowing crafted or truncated sketches to cause reads past the input end. This can lead to crashes or exposure of adjacent memory. The vulnerability affects versions from 3.1.0 up to and including 5.2.0. Upgrading to version 5.3.0 resolves the issue. Only applications deserializing Theta sketches from untrusted sources are impacted.

Affected software

Apache Software Foundation

Apache DataSketches

Affected versions
>=3.1.0 <=5.2.0
GitHub Actionsmore threats →cve
apache/datasketches-cpp
pkg:github/apache/datasketches-cpp
Affected versions
>=3.1.0 <=5.2.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, 10:48:18 UTC

Technical Analysis

CVE-2026-103635 is an out-of-bounds read vulnerability in the Apache DataSketches C++ library's compact Theta sketch deserialization functions (compact_theta_sketch::deserialize() and wrapped_compact_theta_sketch::wrap()). These functions read header fields without first confirming the input length is sufficient. In the compressed format, a 32-bit overflow can bypass size checks, and two critical header fields controlling decoding lack validation. This flaw allows a crafted or truncated sketch to cause a read beyond the input buffer, potentially reading large amounts of memory and incorporating unintended bytes into the deserialized sketch. The vulnerability can cause application crashes (denial of service) and may expose adjacent memory contents. It affects versions >=3.1.0 and <=5.2.0 of Apache DataSketches C++. The issue is fixed in version 5.3.0.

Potential Impact

Exploitation of this vulnerability can cause application crashes resulting in denial of service. Additionally, the out-of-bounds read may expose adjacent memory contents, potentially leaking sensitive information. The impact is limited to applications that deserialize Theta 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. Until upgraded, avoid deserializing Theta sketches from untrusted or unauthenticated sources to prevent exploitation.

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

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-09-30T23:50:17.136Z
State
PUBLISHED

Threat ID: 6aca148f2cdf04f65621aabb

Added to database: 10/10/2026, 10:33:51 UTC

Last enriched: 10/10/2026, 10:48:18 UTC

Last updated: 10/10/2026, 10:49:05 UTC

Views: 5

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