CVE-2026-40007 PUBLISHED

Apache IoTDB: Unauthenticated unbounded recursion in IoTDB AirGap receiver's E-language prefix parser causes per-connection StackOverflowError

Assigner: apache
Reserved: 08.04.2026 Published: 10.07.2026 Updated: 10.07.2026

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.

Product Status

Vendor Apache Software Foundation
Product Apache IoTDB
Versions Default: unaffected
  • affected from 1.0.0 to 2.0.10 (excl.)

Credits

  • bugbunny.ai finder

References

Problem Types

  • CWE-674 Uncontrolled Recursion CWE
  • CWE-400 Uncontrolled Resource Consumption CWE