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.
Published: 2026-07-10
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from an uncontrolled recursion in the IoTDB AirGap receiver’s E‑language prefix parser. When the configuration setting pipe_air_gap_receiver_enabled is true, the readLength method calls itself repeatedly for each recognized prefix without imposing any depth limit. An unauthenticated attacker can therefore send a continuous stream of E‑language prefixes, causing the recursion depth to explode until the receiver thread’s JVM stack overflows, which raises a StackOverflowError and effectively halts the processing of that connection. This results in a denial‑of‑service condition on the affected system.

Affected Systems

Apache IoTDB versions from 1.0.0 up to but not including 2.0.10 are affected, but only when the AirGap receiver feature is enabled through the pipe_air_gap_receiver_enabled setting. The flaw is present in the receiver component that listens on the AirGap endpoint, which may be exposed over the network.

Risk and Exploitability

The CVSS score of 7.5 classifies the issue as high severity. An EPSS score of less than 1 % indicates that publicly observed exploitation has been rare, and it is not listed in the CISA KEV catalog. Nonetheless, the vulnerability can be triggered with unauthenticated network access to the AirGap receiver, requiring only the ability to send arbitrary data to the open socket. Once exploited, the recursion can exhaust stack resources, causing the server thread to crash and denying service to legitimate clients. The low exploitation probability does not mitigate the potential impact on exposed services.

Generated by OpenCVE AI on July 29, 2026 at 11:15 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache IoTDB to version 2.0.10 or later, where a bound has been added to prevent unbounded recursion.
  • If the AirGap receiver is not required, set pipe_air_gap_receiver_enabled to false or remove the component to eliminate the attack surface.
  • Limit inbound traffic to the AirGap service with firewall rules or network segmentation so that only trusted hosts can reach the endpoint.

Generated by OpenCVE AI on July 29, 2026 at 11:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 10 Jul 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache iotdb
Vendors & Products Apache
Apache iotdb

Fri, 10 Jul 2026 08:00:00 +0000

Type Values Removed Values Added
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.
Title Apache IoTDB: Unauthenticated unbounded recursion in IoTDB AirGap receiver's E-language prefix parser causes per-connection StackOverflowError
Weaknesses CWE-400
CWE-674
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-07-10T14:54:55.434Z

Reserved: 2026-04-08T08:42:31.995Z

Link: CVE-2026-40007

cve-icon Vulnrichment

Updated: 2026-07-10T14:54:55.434Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T11:30:17Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-674

    Uncontrolled Recursion