CVE-2026-40006: CWE-789 Memory Allocation with Excessive Size Value in Apache Software Foundation Apache IoTDB
Memory Allocation with Excessive Size Value, Allocation of Resources Without Limits or Throttling, Missing Authentication for Critical Function vulnerability in Apache IoTDB. When pipe_air_gap_receiver_enabled=true, the IoTDB AirGap pipe receiver accepts raw TCP connections on port 9780 with no authentication. The readLength method reads an attacker-controlled 32-bit integer from the socket and readData passes it directly to new byte[length] with no upper-bound check. An unauthenticated attacker can cause the JVM to attempt an allocation of up to 2,147,483,647 bytes per connection, exhausting heap memory and crashing or severely degrading the DataNode process. 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
Apache IoTDB contains a vulnerability (CVE-2026-40006) where, if pipe_air_gap_receiver_enabled=true, the AirGap pipe receiver listens on port 9780 without authentication. The readLength method reads an attacker-controlled 32-bit integer from the socket and passes it directly to a byte array allocation with no upper bound check. This allows an unauthenticated attacker to cause the JVM to allocate up to 2,147,483,647 bytes per connection, exhausting heap memory and causing denial of service by crashing or severely degrading the DataNode process. This affects Apache IoTDB versions from 1.0.0 before 2.0.10. Upgrading to 2.0.10 mitigates the vulnerability.
Potential Impact
An unauthenticated remote attacker can cause a denial of service by triggering excessive memory allocation on the DataNode process, leading to heap exhaustion and potential crash or severe performance degradation. There is no confidentiality or integrity impact reported.
Mitigation Recommendations
Users should upgrade Apache IoTDB to version 2.0.10 or later, where this vulnerability is fixed. No other mitigations or temporary workarounds are indicated. Patch status is confirmed by the vendor advisory recommending upgrade to 2.0.10.
CVE-2026-40006: CWE-789 Memory Allocation with Excessive Size Value in Apache Software Foundation Apache IoTDB
Description
Memory Allocation with Excessive Size Value, Allocation of Resources Without Limits or Throttling, Missing Authentication for Critical Function vulnerability in Apache IoTDB. When pipe_air_gap_receiver_enabled=true, the IoTDB AirGap pipe receiver accepts raw TCP connections on port 9780 with no authentication. The readLength method reads an attacker-controlled 32-bit integer from the socket and readData passes it directly to new byte[length] with no upper-bound check. An unauthenticated attacker can cause the JVM to attempt an allocation of up to 2,147,483,647 bytes per connection, exhausting heap memory and crashing or severely degrading the DataNode process. 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
Apache IoTDB contains a vulnerability (CVE-2026-40006) where, if pipe_air_gap_receiver_enabled=true, the AirGap pipe receiver listens on port 9780 without authentication. The readLength method reads an attacker-controlled 32-bit integer from the socket and passes it directly to a byte array allocation with no upper bound check. This allows an unauthenticated attacker to cause the JVM to allocate up to 2,147,483,647 bytes per connection, exhausting heap memory and causing denial of service by crashing or severely degrading the DataNode process. This affects Apache IoTDB versions from 1.0.0 before 2.0.10. Upgrading to 2.0.10 mitigates the vulnerability.
Potential Impact
An unauthenticated remote attacker can cause a denial of service by triggering excessive memory allocation on the DataNode process, leading to heap exhaustion and potential crash or severe performance degradation. There is no confidentiality or integrity impact reported.
Mitigation Recommendations
Users should upgrade Apache IoTDB to version 2.0.10 or later, where this vulnerability is fixed. No other mitigations or temporary workarounds are indicated. 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:41:59.817Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a50a3b368715ace433bd384
Added to database: 07/10/2026, 07:48:03 UTC
Last enriched: 07/17/2026, 09:49:00 UTC
Last updated: 08/24/2026, 11:16:10 UTC
Views: 87
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.