Use-After-Free Vulnerability in OpenResty Stream-Lua-Nginx-Module
CVE-2026-136412
9.2CRITICAL
What is CVE-2026-136412?
The OpenResty stream-lua-nginx-module prior to version 0.0.20rc4 contains a use-after-free vulnerability. This issue arises when a receiveuntil() pattern iterator is garbage-collected while still being referenced by a socket, enabling remote peers to manipulate freed memory. Attackers can disrupt or terminate the cosocket connection, causing further reads or socket closure to reference a stale pointer, potentially leading to crashes or memory corruption in the nginx worker processes.
Affected Version(s)
stream-lua-nginx-module 0 < 0.0.20rc4
