High severity · published Jul 10, 2026
CVE-2026-40007
Apache IoTDB: Unauthenticated unbounded recursion in IoTDB AirGap receiver's E-language prefix parser causes per-connection StackOverflowError
7.5
CVSS
0.5%
EPSS
No
On KEV
Description
Uncontrolled Recursion, Uncontrolled Resource Consumption vulnerability in Apache IoTDB. When pipe_air_gap_receiver_enabled=true, the IoTDB AirGap receiver's readLength method calls itself recursively each time it recognises the E-language prefix in socket data, with no depth limit. An unauthenticated attacker can send a stream of repeated E-language prefixes that drives the recursion arbitrarily deep, exhausting the receiver thread's JVM stack and raising StackOverflowError. This issue affects Apache IoTDB: from 1.0.0 before 2.0.10. Users are recommended to upgrade to version 2.0.10, which fixes the issue.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 42% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AI
Apache IoTDB · Apache Software Foundation
1.0.0 before 2.0.10 · source: vendor
Affected product
AI
Apache IoTDB
Apache Software Foundation
More from Apache IoTDB
9.8
CVE-2026-40008
Apache IoTDB: Arbitrary Class Instantiation via Pipe Transfer RPC
9.8
CVE-2026-28564
Apache IoTDB: REST Basic Authentication Accepts Stale Cached Credentials
9.8
CVE-2026-24014
Apache IoTDB: Path Traversal in DataNode Internal RPC Trigger JAR Upload Allows Arbitrary File Write
9.1
CVE-2026-40005
Apache IoTDB: Path Traversal in Pipe File Transfer Receiver
9.1
CVE-2026-24013
Apache IoTDB: Authentication Bypass via Forged SessionID in Thrift RPC