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…

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

CVE-2026-40006 is a vulnerability in Apache IoTDB versions from 1.0.0 up to but not including 2.0.10. When the configuration pipe_air_gap_receiver_enabled is true, the IoTDB AirGap pipe receiver accepts unauthenticated raw TCP connections on port 9780. An attacker can send a crafted 32-bit integer to request a large memory allocation without any upper bound checks, potentially causing the JVM to allocate up to approximately 2GB of memory per connection. This can exhaust heap memory and crash or severely degrade the DataNode process. The issue is fixed in version 2.0.10.

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/10/2026, 07:54:32 UTC

Technical Analysis

Apache IoTDB versions >=1.0.0 <2.0.10 have a vulnerability where the AirGap pipe receiver, when enabled, listens on TCP port 9780 without authentication. The readLength method reads an attacker-controlled 32-bit integer from the socket and passes it directly to allocate a byte array with no upper bound validation. This allows an unauthenticated attacker to cause excessive memory allocation (up to 2,147,483,647 bytes) per connection, leading to heap exhaustion and potential denial of service by crashing or degrading the DataNode process. The vulnerability combines CWE-789 (Memory Allocation with Excessive Size Value), CWE-770 (Allocation of Resources Without Limits or Throttling), and CWE-306 (Missing Authentication for Critical Function). The issue is resolved in Apache IoTDB version 2.0.10.

Potential Impact

An unauthenticated attacker can exploit this vulnerability to cause excessive memory allocation on the affected Apache IoTDB DataNode, leading to heap memory exhaustion. This can crash the JVM or severely degrade the DataNode's availability and performance, resulting in denial of service conditions.

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. Since this is not a cloud service, remediation depends on user action to upgrade.

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/10/2026, 07:54:32 UTC

Last updated: 07/10/2026, 08:07:31 UTC

Views: 3

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