# CVE-2026-40007: Apache IoTDB: Unauthenticated unbounded recursion in IoTDB AirGap receiver's E-language prefix parser causes per-connection StackOverflowError

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-07-10T07:12:29.926Z
- Modified: 2026-10-25T15:10:00.147Z
- Weaknesses: CWE-400, CWE-674
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache IoTDB: from 1.0.0 before 2.0.10

## References

- <https://lists.apache.org/thread/tr23kh6kp8drrsv8ypv1mqm4v5kyy23m> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/07/10/4>

## Sources

- CVE List: [CVE-2026-40007](https://www.cve.org/CVERecord?id=CVE-2026-40007), CVE Terms of Use, modified 2026-07-10
- NVD: [CVE-2026-40007](https://nvd.nist.gov/vuln/detail/CVE-2026-40007), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-40007 · Whole record: https://cve.day/CVE-2026-40007.json · Rebuilt by cve.day 2026-11-25T22:59:27.605Z
