High severity8.1NVD Advisory· Published Nov 24, 2026
CVE-2026-136412
CVE-2026-136412
Description
OpenResty stream-lua-nginx-module before 0.0.20rc4 contains a use-after-free vulnerability that allows remote peers to trigger access to freed memory when a receiveuntil() pattern iterator is garbage-collected while still referenced by the socket. Attackers can interrupt or close the cosocket connection so later reads or socket closure use the stale pattern pointer, crashing or corrupting the nginx worker.
Affected products
2(expand)+ 1 more
- (no CPE)
- (no CPE)range: <0.0.20rc4
Patches
Vulnerability mechanics
References
5- github.com/openresty/stream-lua-nginx-module/blob/7581c68b43e1645bffe0d7262b1f4230d9698a6a/src/ngx_stream_lua_socket_tcp.cnvd
- github.com/openresty/stream-lua-nginx-module/commit/7581c68b43e1645bffe0d7262b1f4230d9698a6anvd
- github.com/openresty/stream-lua-nginx-module/commit/9591e20ab754e78437b7519053ff496aca25f531nvd
- github.com/openresty/stream-lua-nginx-module/tree/v0.0.20rc4nvd
- www.vulncheck.com/advisories/openresty-stream-lua-nginx-module-before-0.0-20rc4-use-after-free-via-cosocket-receiveuntilnvd
News mentions
0No linked articles in our index yet.