Use-after-free in Deno - CVE-2024-27934
Published: March 5, 2024 / Updated: April 23, 2026
Deno
Deno Land
Description
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to use-after-free in *const c_void and ExternalPointer handling when executing attacker-controlled code inside the Deno runtime. A remote user can trigger reuse of a freed underlying structure to execute arbitrary code.
The issue is exploitable regardless of granted permissions, and exploitation of the ExternalPointer variant may require derandomizing the PIE base address.