Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 65%

CVE-2026-40006: CWE-789 Memory Allocation with Excessive Size Value in Apache Software Foundation Apache IoTDB

0
High
VulnerabilityCVE-2026-40006cvecve-2026-40006cwe-789cwe-770cwe-306
Published: 07/10/2026 (07/10/2026, 07:10:54 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

org.apache.iotdb/iotdb
pkg:maven/org.apache.iotdb/iotdb
Affected versions
=1.0.0<2.0.10

Run 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

AILast updated: 07/17/2026, 09:49:00 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses