Skip to main content

Apache IoTDB CVE-2026-40007

| EUVDEUVD-2026-42835 HIGH
Uncontrolled Recursion (CWE-674)
2026-07-10 apache GHSA-4644-hpfg-x44q
7.5
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Reach exposed AirGap receiver port
  2. Delivery
    Open socket to receiver
  3. Exploit
    Send repeated E-language prefixes
  4. Execution
    Drive unbounded readLength recursion
  5. Persist
    Exhaust JVM thread stack
  6. Impact
    StackOverflowError crashes receiver (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

Exploitation requires that the target IoTDB instance be configured with pipe_air_gap_receiver_enabled=true - the AirGap pipe receiver is not enabled by default - and that its receiver socket be reachable from the attacker. Given that configuration, no authentication and no user interaction are needed (PR:N/UI:N): the attacker simply sends a stream of repeated E-language prefixes over the socket to drive unbounded recursion into StackOverflowError. The primary limiting factor is the non-default pipe_air_gap_receiver_enabled=true setting plus network exposure of the receiver port; deployments without AirGap ingestion enabled are not affected regardless of version.

Impact

Signals broadly agree that this is a real but moderate-priority availability issue rather than a critical emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) reflects unauthenticated remote reachability and an easy, reliable crash, but impact is limited to availability with no confidentiality or integrity loss. EPSS is low (0.14%, percentile 4%) and SSVC records Exploitation: none, Technical Impact: partial, though Automatable: yes indicates the attack is trivially scriptable once a reachable receiver is found. There is no CISA KEV listing and no public exploit code identified. The most important caveat: the CVSS score does not encode the key precondition - exploitation requires pipe_air_gap_receiver_enabled=true, which is not the default, so real-world exposure is confined to deployments that have explicitly enabled AirGap pipe ingestion and exposed that port to an attacker. For those deployments the risk is genuine and easy to trigger; for everyone else it is not exploitable.

Exploit ScenarioDerived

An attacker locates a network-reachable IoTDB instance running with pipe_air_gap_receiver_enabled=true and opens a socket to the AirGap receiver port. They send a single stream containing many repeated E-language prefixes; the receiver recurses one level per prefix until the thread's JVM stack is exhausted, throwing StackOverflowError and killing the receiver thread. The low attack complexity (AC:L) and lack of authentication (PR:N) make this trivially scriptable, though no public POC has been identified.

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 Apache IoTDB versions 1.0.0 up to (but not including) 2.0.10 lets an unauthenticated network attacker crash the AirGap receiver thread by exploiting unbounded recursion in its readLength method. When the pipe_air_gap_receiver_enabled=true option is set, repeated E-language prefixes in a single socket stream drive recursion arbitrarily deep until the JVM stack is exhausted and a StackOverflowError is raised. There is no public exploit identified at time of analysis, and the EPSS probability is low (0.14%, 4th percentile), consistent with SSVC marking exploitation as 'none' though 'automatable: yes'.

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

Denial of service in Apache IoTDB (versions 1.0.0 up to but not including 2.0.10) allows an unauthenticated remote attacker to crash the AirGap receiver thread when pipe_air_gap_receiver_enabled=true. By streaming repeated E-language prefixes over the receiver socket, the attacker drives the receiver's readLength method into unbounded self-recursion, exhausting the JVM thread stack and triggering a StackOverflowError. There is no public exploit identified at time of analysis; EPSS is low (0.14%), CVSS is 7.5 (availability-only impact), and CISA SSVC records exploitation status as none.

v1 Jul 10, 2026 - 08:31

Stack exhaustion in Apache IoTDB's AirGap receiver allows unauthenticated remote attackers to crash the receiver thread by sending crafted socket data. When the pipe_air_gap_receiver_enabled configuration is set to true, the readLength method recursively invokes itself without a depth limit upon detecting the E-language prefix in incoming data, ultimately raising a StackOverflowError and denying service to the data pipeline. No public exploit has been identified at time of analysis, but exploitation is mechanically trivial for any attacker with network access to the AirGap receiver port.

RemediationAI

Vendor-released patch: 2.0.10 - upgrade Apache IoTDB to 2.0.10, which fixes the recursion in the AirGap receiver's readLength method, as advised by Apache at https://lists.apache.org/thread/tr23kh6kp8drrsv8ypv1mqm4v5kyy23m. Where an immediate upgrade is not possible, the most direct compensating control is to set pipe_air_gap_receiver_enabled=false, which fully removes the attack surface but disables AirGap-based pipe ingestion and so is only acceptable if that data-sync mode is unused. If AirGap ingestion must remain enabled, restrict network access to the AirGap receiver port via firewall or network segmentation so only trusted sender hosts can reach it - this preserves functionality but requires that the sender set is known and stable and does not protect against a compromised sender host. Additional details are in the oss-security post at https://seclists.org/oss-sec/2026/q3/114.

Affected VersionsENISA

Apache IoTDB 1.0.0 <2.0.10

Affected Packages

euvd apache_iotdb fix: 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 used for IoT and industrial telemetry workloads. The flaw lives in its data-synchronization 'pipe' subsystem, specifically the AirGap receiver, a component intended to ingest data across an air-gapped/one-way network boundary. The receiver's readLength method parses length-prefixed socket data and, upon recognizing the proprietary 'E-language' prefix, invokes itself recursively with no depth ceiling. This is a textbook CWE-674 (Uncontrolled Recursion) issue that also manifests as uncontrolled resource consumption: each recursive call consumes a JVM stack frame, so attacker-controlled input directly controls recursion depth. The CPE cpe:2.3:a:apache_software_foundation:apache_iotdb:*:*:*:*:*:*:*:* covers the affected product, and the 'Buffer Overflow' tag is a loose approximation - the real mechanism is stack exhaustion via recursion, not a memory-corruption buffer overflow.

Know when Apache Iotdb 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

Unauthenticated remote socket triggers a reliable crash (AV:N/AC:L/PR:N/UI:N) with availability-only impact and no confidentiality or integrity loss (C:N/I:N/A:H); the non-default feature requirement is a precondition, not a base metric.

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:N/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

5
Analysis Updated
Jul 10, 2026 - 15:32 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 10, 2026 - 15:31 vuln.today
v2 - CVSS changed
Severity Changed
Jul 10, 2026 - 15:22 NVD
MEDIUM HIGH
CVSS changed
Jul 10, 2026 - 15:22 NVD
7.5 (MEDIUM) 7.5 (HIGH)
Patch available
Jul 10, 2026 - 09:16 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Apache IoTDB deployments with the AirGap receiver feature enabled are vulnerable to a remotely exploitable denial-of-service attack affecting versions 1.0.0 through 2.0.9. Organizations running these versions risk unplanned service outages that can disrupt IoT data pipeline operations. A vendor patch is available, and immediate deployment planning is recommended given the critical nature of service availability.

Business Impact: High
Compensating Controls

Apply vendor patch: Apache IoTDB 2.0.10 or later.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Low
niche industrial/IoT time-series database, limited enterprise footprint
Social Media
1
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.

CVE-2026-40008 CRITICAL
9.8 Jul 10

Unsafe reflection in Apache IoTDB's pipe processor lets a user-supplied fully qualified Java class name be loaded and in

CVE-2026-28564 CRITICAL
9.8 Jul 10

Authentication bypass via capture-replay in Apache IoTDB (1.0.0 through 2.0.9) lets attackers reuse stale credentials ag

CVE-2026-24014 CRITICAL
9.8 Jul 06

Arbitrary file write in Apache IoTDB DataNode (versions 1.3.3 up to but not including 2.0.8) allows attackers who can re

CVE-2026-40005 CRITICAL
9.1 Jul 10

Arbitrary file write in Apache IoTDB (versions 1.0.0 through 2.0.9) lets remote attackers plant files anywhere the IoTDB

CVE-2026-44630 HIGH
7.5 Aug 10

Denial of service in Apache IoTDB's Thrift-based RPC service allows remote unauthenticated attackers to crash the databa

CVE-2026-40006 HIGH
7.5 Jul 10

Unauthenticated denial of service in Apache IoTDB (1.0.0 through 2.0.9) allows remote attackers to crash or degrade the

CVE-2026-24012 HIGH
7.5 Jul 06

Denial of service in Apache IoTDB versions 1.3.3 through 2.0.7 lets remote attackers crash the DataNode process by submi

CVE-2026-40452 HIGH
7.5 Jul 10

Authorization bypass in Apache IoTDB's REST API endpoint /rest/v2/fastLastQuery allows authenticated users to access las

CVE-2026-24013 CRITICAL
9.1 Jul 06

Authentication bypass via sessionId spoofing in Apache IoTDB (1.3.3 through versions before 2.0.8) lets a remote, unauth

CVE-2026-40009 MEDIUM
6.5 Jul 10

Privilege escalation in Apache IoTDB 2.0.8 through 2.0.9 allows any authenticated low-privilege user to rename their own

CVE-2025-64152 CRITICAL
9.1 Jun 26

Path traversal in Apache IoTDB (1.0.0 before 1.3.6 and 2.0.0 before 2.0.7) allows remote attackers to read and write fil

CVE-2025-55017 CRITICAL
9.1 Jun 26

Path traversal in Apache IoTDB (versions 1.0.0–1.3.5 and 2.0.0–2.0.5) lets remote unauthenticated attackers reference fi

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