Skip to main content

Apache IoTDB CVE-2026-40454

| EUVDEUVD-2026-42839 HIGH
Out-of-bounds Read (CWE-125)
2026-07-10 apache GHSA-74ph-cx7x-v56m
7.5
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker controls or MITMs IoTDB server
  2. Delivery
    Client issues query over connection
  3. Exploit
    Server returns malformed TsBlock
  4. Execution
    Deserializer reads out of bounds
  5. Impact
    Client process crashes (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim's Apache IoTDB C++ client (1.3.5-1.3.7 or 2.0.5-2.0.9) to receive malformed TsBlock data from the server it queries, so the attacker must control or compromise the IoTDB server endpoint, or man-in-the-middle an unauthenticated/unencrypted client-server connection, and the trigger fires during normal result deserialization. Limiting factors: the flaw is client-side only (the server is not the victim), impact is confined to a crash of the client process (A:H; no confidentiality or integrity loss), and clients that connect exclusively to trusted, TLS-authenticated servers are not realistically reachable by an external attacker despite the AV:N/PR:N CVSS vector.

Impact

The CVSS 3.1 base score is 7.5 (HIGH) driven entirely by A:H with C:N/I:N - this is a pure availability/DoS issue, not code execution or data disclosure, so the 'HIGH' label overstates business impact for most deployments. The AV:N/AC:L/PR:N/UI:N vector implies trivial remote unauthenticated attack, but this understates a key structural condition: the vulnerable code is a client parsing SERVER responses, so exploitation requires the victim client to connect to an attacker-controlled or compromised IoTDB server (or a man-in-the-middle position), not merely network reachability to the victim. Corroborating signals agree the real-world risk is modest: EPSS is 0.14% (4th percentile), the CVE is not in CISA KEV, and no POC is referenced. Net assessment: a genuine but lower-priority hardening fix - patch on a normal cycle rather than emergency basis - unless clients routinely connect to untrusted or internet-exposed IoTDB endpoints. Note the tags list 'Information Disclosure' and 'Buffer Overflow', but the description and CVSS (C:N) describe only a crash; treat the info-disclosure framing as unconfirmed unless the vendor states otherwise.

Exploit ScenarioDerived

An attacker who operates or has compromised an IoTDB server (or holds a man-in-the-middle position on an unencrypted client-server link) returns a crafted TsBlock with inconsistent length fields when a C++ client issues a query. The client's deserializer reads out of bounds while parsing the block and crashes, denying service to the application; no user interaction beyond the normal query is required and no exploit code is publicly known at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jul 10, 2026

Denial of service in the Apache IoTDB C++ client (versions 1.3.5 before 1.3.8 and 2.0.5 before 2.0.10) allows a malicious or compromised IoTDB server to crash any connected client by returning malformed TsBlock response data. The client's TsBlock deserializer performs out-of-bounds reads (CWE-125) on attacker-controlled server payloads, terminating the client process. There is no public exploit identified at time of analysis, EPSS probability is low (0.14%), and impact is limited to availability of the client - no confidentiality or integrity effect is claimed.

Earlier versions of this analysis (2)
v2 Jul 10, 2026 - 15:30 cvss changed CVSS 7.5

Denial of service in the Apache IoTDB C++ client (1.3.5 before 1.3.8 and 2.0.5 before 2.0.10) allows a malicious or compromised IoTDB server to crash the connecting client process by returning malformed TsBlock data. The TsBlock deserializer performs out-of-bounds reads (CWE-125) when handling attacker-controlled response fields, terminating the client. There is no public exploit identified at time of analysis, and EPSS is low (0.14%, 4th percentile), consistent with a client-side availability-only issue rather than a broadly weaponized flaw.

v1 Jul 10, 2026 - 08:20

Out-of-bounds reads in the Apache IoTDB C++ client's TsBlock deserializer crash the client process when it processes malformed data received from the server, affecting versions 1.3.5 through before 1.3.8 and 2.0.5 through before 2.0.10. The flaw (CWE-125, Improper Input Validation) is client-side: exploitation requires the client to connect to a malicious or compromised IoTDB server capable of sending crafted TsBlock payloads. No active exploitation is confirmed (not in CISA KEV) and no public exploit code has been identified at time of analysis; the primary impact is denial-of-service (client process crash) with a secondary risk of limited memory disclosure.

RemediationAI

Vendor-released patch: upgrade the C++ client to 2.0.10 (the version the advisory explicitly recommends) on the 2.0.x line, or to 1.3.8 on the 1.3.x maintenance line, then rebuild and redeploy any C++ applications that link the client library. Confirm the fixed version against the Apache advisory at https://lists.apache.org/thread/9wml325g6bpovw0jf5ymtc3xl7fwlkrn and the oss-security note at https://seclists.org/oss-sec/2026/q3/118. Where an immediate upgrade is not possible, reduce exposure by ensuring clients connect only to trusted, authenticated IoTDB servers over TLS to prevent a man-in-the-middle from injecting malformed TsBlock responses, and restrict network paths so clients cannot reach untrusted servers - the trade-off is operational overhead and the need for certificate management, and these controls only limit who can deliver the malicious payload rather than fixing the parser itself. Because impact is a client crash (not RCE), also make client processes resilient to restart so a triggered crash does not cascade into a wider outage.

Affected VersionsENISA

Apache IoTDB C++ client 2.0.5 <2.0.10
Apache IoTDB C++ client 1.3.5 <1.3.8

Affected Packages

euvd apache_iotdb_c_client fix: 1.3.8, 2.0.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache IoTDB is an open-source time-series database built for IoT and industrial telemetry workloads; the affected component is its C++ native client library used by C++ applications to query the IoTDB server. Query results are transported in IoTDB's columnar TsBlock format, and the vulnerability lives in the client-side TsBlock deserializer, which parses the binary block returned by the server. Per CWE-125 (Out-of-bounds Read), the deserializer trusts length/offset fields in the server response without adequate bounds validation (Improper Input Validation), so a block whose declared sizes exceed the actual buffer causes the parser to read past allocated memory and crash. Only the affected products string is provided: cpe:2.3:a:apache_software_foundation:apache_iotdb_c++_client:*, i.e. the C++ client specifically, not the server or Java/Python clients.

Know when Apache Iotdb C Client gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 7.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Client crashes on malicious server data with no confidentiality/integrity impact, so C:N/I:N/A:H; kept AV:N/PR:N to match the network parsing path, though a malicious server is a real prerequisite.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
Jul 10, 2026 - 15:22 NVD
7.5 (HIGH)
Patch available
Jul 10, 2026 - 09:16 EUVD

DescriptionCVE.org

Out-of-bounds Read, Improper Input Validation vulnerability in Apache IoTDB C++ client. Out-of-bounds reads in IoTDB C++ client TsBlock deserializer crash client process on malformed server data.

This issue affects Apache IoTDB C++ client: from 1.3.5 before 1.3.8, from 2.0.5 before 2.0.10.

Users are recommended to upgrade to version 2.0.10, which fixes the issue.

Executive ViewAI

Why It Matters

The Apache IoTDB C++ client contains a denial-of-service vulnerability affecting versions 1.3.5-1.3.7 and 2.0.5-2.0.9, which could crash connected applications if they interact with a malicious or compromised database server. While exploitation requires server-level compromise and no public exploit code has been identified, the risk to application availability warrants immediate action. Affected organizations should identify all systems using these client versions and upgrade to patched releases (1.3.8 or later, 2.0.10 or later) within 30 days.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Low
niche IoT time-series database, C++ client is a small subset
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy