Apache IoTDB versions from 2.0.5 up to but not including 2.0.12 contain a vulnerability where unbounded in-memory materialization in the REST fastLastQuery cache-hit path can lead to heap exhaustion, resulting in a denial of service (DoS). This issue is fixed in version 2.0.12.