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-40007: CWE-674 Uncontrolled Recursion in Apache Software Foundation Apache IoTDB

0
High
VulnerabilityCVE-2026-40007cvecve-2026-40007cwe-674cwe-400
Published: 07/10/2026 (07/10/2026, 07:12:29 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache IoTDB

Description

Apache IoTDB versions from 1.0.0 up to but not including 2.0.10 contain an uncontrolled recursion vulnerability in the AirGap receiver component when the pipe_air_gap_receiver_enabled setting is true. The readLength method recursively calls itself without a depth limit upon detecting the E-language prefix in socket data. An unauthenticated attacker can exploit this by sending repeated E-language prefixes, causing a StackOverflowError due to JVM stack exhaustion. 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>=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:36 UTC

Technical Analysis

CVE-2026-40007 describes an uncontrolled recursion vulnerability in Apache IoTDB's AirGap receiver when pipe_air_gap_receiver_enabled=true. The readLength method recursively calls itself each time it detects the E-language prefix in incoming socket data without limiting recursion depth. This allows an unauthenticated attacker to send a crafted stream of repeated E-language prefixes, driving the recursion arbitrarily deep, exhausting the JVM stack of the receiver thread, and causing a StackOverflowError. This affects Apache IoTDB versions from 1.0.0 up to but not including 2.0.10. The vulnerability is addressed by upgrading to version 2.0.10.

Potential Impact

An unauthenticated attacker can cause a denial of service by triggering a StackOverflowError in the JVM running the Apache IoTDB AirGap receiver. This results from uncontrolled recursion in the readLength method when processing crafted socket data containing repeated E-language prefixes. The impact is resource exhaustion of the receiver thread's JVM stack, potentially disrupting service availability.

Mitigation Recommendations

Users should upgrade Apache IoTDB to version 2.0.10 or later, where this uncontrolled recursion vulnerability is fixed. No other mitigation or temporary workaround is documented. Patch status is not explicitly stated but the vendor recommends upgrading to 2.0.10 to resolve the issue.

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

Last updated: 07/10/2026, 08:11:21 UTC

Views: 5

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