← Lab /Security & privacy

Kemp LoadMaster API enables pre-auth remote code execution through uninitialized heap

An uninitialized heap buffer in escape_quotes() leads to pre-authentication remote code execution on vulnerable LoadMaster versions.

Security & privacy watchTowr Labs 29 Jun 2026 Disclosure Prototype evidence

Published as “Enterprise Tech In, Shell Out (Progress Kemp LoadMaster Uninitialized Heap to Pre-Auth RCE CVE-2026-8037)”

Why it matters

Unauthenticated attackers who can reach the LoadMaster API can execute arbitrary commands on the appliance, underscoring the need for immediate patching.

Summary

The researchers compared vulnerable LoadMaster 7.2.63.1 with patched 7.2.63.2 and identified that escape_quotes() allocated a malloc buffer without zero-initialization and failed to add a null terminator. By spraying JSON key/value pairs they placed a malicious command payload adjacent to the uninitialized buffer, then used four single quotes in the apiuser field to overwrite allocator metadata and allow __sprintf_chk to read past the buffer into the payload, achieving pre-authentication RCE. The proof-of-concept works against the listed vulnerable versions, but relies on specific heap layout.

What they found 1

  1. The vulnerability affects Kemp LoadMaster GA v7.2.63.1 and older, and LTSF v7.2.54.17 and older when the API is enabled.

    “The vulnerability affects the following versions, when the API is enabled: - Kemp LoadMaster: GA v7.2.63.1 and older - Kemp LoadMaster: LTSF v7.2.54.17 and older”

Caveats 1

  • The exploit requires the sprayed payload chunk to be allocated immediately after the escaped apiuser chunk, making success dependent on heap layout.

What’s new here 4

  • Identified an uninitialized heap and missing null-terminator bug in the escape_quotes() function.
  • Demonstrated how the bug can be exploited to achieve pre-auth remote code execution via heap-spray of JSON data.
  • Developed a technique that uses single-quote expansion to overwrite allocator metadata and bypass string termination.
  • Provided a working PoC against Kemp LoadMaster GA v7.2.63.1 and older.

In the news