Quick answers
- Is CVE-2026-40007 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-40007 being exploited in the wild.
- How severe is CVE-2026-40007?
- Informational severity, published 10 July 2026.
- Which products and versions are affected?
- Apache Software Foundation IoTDB 1.0.0 to 2.0.9.
- Is there a fix for CVE-2026-40007?
- A patch was published on 2026-07-10: Version 2.0.10 released to address the issue Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-40007 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-40007?
- Check whether you run Apache Software Foundation IoTDB at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A vulnerability exists in the Apache IoTDB AirGap receiver's readLength method due to uncontrolled recursion (CWE-674). When the 'pipe_air_gap_receiver_enabled' configuration is set to true, the readLength method recursively calls itself upon encountering an E-language prefix in socket data without a defined depth limit. An unauthenticated remote attacker can exploit this by sending a malicious stream of repeated prefixes, exhausting the JVM stack and triggering a StackOverflowError. This results in a denial-of-service for the affected receiver thread. The issue is fixed in version 2.0.10.
Affected products
- Apache IoTDB 1.0.0 to 2.0.9
Timeline
- 2026-07-10: advisory: NVD publication date
- 2026-07-10: disclosed: Apache Software Foundation mailing list disclosure
- 2026-07-10: patched: Version 2.0.10 released to address the issue