CVE-2026-40007: CWE-674 Uncontrolled Recursion in Apache Software Foundation Apache IoTDB
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.
AI Analysis
Technical Summary
CVE-2026-40007 is an uncontrolled recursion vulnerability in Apache IoTDB's AirGap receiver when pipe_air_gap_receiver_enabled=true. The readLength method recursively processes socket data containing the E-language prefix without limiting recursion depth. An unauthenticated attacker can exploit this by sending a stream of repeated E-language prefixes, causing the JVM stack to overflow and resulting in a denial of service via StackOverflowError. This affects Apache IoTDB versions from 1.0.0 before 2.0.10. The issue is fixed in version 2.0.10.
Potential Impact
Exploitation leads to uncontrolled resource consumption in the form of JVM stack exhaustion, causing the affected IoTDB AirGap receiver thread to crash with a StackOverflowError. This results in denial of service but does not impact confidentiality or integrity.
Mitigation Recommendations
Users should upgrade Apache IoTDB to version 2.0.10 or later, where this vulnerability is fixed. No other mitigations or temporary fixes are documented. Patch status is confirmed by the vendor advisory recommending upgrade to 2.0.10.
CVE-2026-40007: CWE-674 Uncontrolled Recursion in Apache Software Foundation Apache IoTDB
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 v3.1
Score 7.5high
Affected software
pkg:maven/org.apache.iotdb/iotdbRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40007 is an uncontrolled recursion vulnerability in Apache IoTDB's AirGap receiver when pipe_air_gap_receiver_enabled=true. The readLength method recursively processes socket data containing the E-language prefix without limiting recursion depth. An unauthenticated attacker can exploit this by sending a stream of repeated E-language prefixes, causing the JVM stack to overflow and resulting in a denial of service via StackOverflowError. This affects Apache IoTDB versions from 1.0.0 before 2.0.10. The issue is fixed in version 2.0.10.
Potential Impact
Exploitation leads to uncontrolled resource consumption in the form of JVM stack exhaustion, causing the affected IoTDB AirGap receiver thread to crash with a StackOverflowError. This results in denial of service but does not impact confidentiality or integrity.
Mitigation Recommendations
Users should upgrade Apache IoTDB to version 2.0.10 or later, where this vulnerability is fixed. No other mitigations or temporary fixes are documented. Patch status is confirmed by the vendor advisory recommending upgrade to 2.0.10.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-04-08T08:42:31.995Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a50a3b368715ace433bd387
Added to database: 07/10/2026, 07:48:03 UTC
Last enriched: 07/17/2026, 09:49:05 UTC
Last updated: 08/24/2026, 10:52:09 UTC
Views: 86
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.