Uncontrolled Recursion Affecting org.apache.iotdb:iotdb-core package, versions [1.0.0, 2.0.10)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHEIOTDB-18175666
  • published22 Jul 2026
  • disclosed10 Jul 2026
  • creditbugbunny.ai

Introduced: 10 Jul 2026

CVE-2026-40007  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade org.apache.iotdb:iotdb-core to version 2.0.10 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion via the readLength function. An attacker can exhaust the receiver thread's JVM stack and cause a StackOverflowError by sending a stream of repeated E-language prefixes to the socket, resulting in unbounded recursion.

Note: This is only exploitable if the configuration setting pipe_air_gap_receiver_enabled is set to true.

CVSS Base Scores

version 4.0
version 3.1