CVE-2026-136412OpenResty stream-lua-nginx-module before 0.0.20rc4 Use-After-Free via cosocket receiveuntil()
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.
9.2 CRITICALEPSS 0.94%Not in KEVNVD: Received
Overview
Severity
| Score | Severity | Version | Technologies Affected |
|---|---|---|---|
| 9.2 | CRITICAL | 4.0VulnCheck (CNA) | Openresty Stream-Lua-Nginx-Module |
| 8.1 | HIGH | 3.1VulnCheck (CNA) |
Details
- CVE ID
- CVE-2026-136412
- Status
- Received
- Assigner (CNA)
- VulnCheck
- Published
- Nov 24, 2026
- Last modified
- 2026-11-30 19:17 UTC
- Weaknesses
- CWE-416 · Use After Free
Affected Products
As published by the CNA in the CVE record.
openrestystream-lua-nginx-module1 version range
- before 0.0.20rc4
References
- github.com https://github.com/openresty/stream-lua-nginx-module/blob/7581c68b43e1645bffe0d7262b1f4230d9698a6a/src/ngx_stream_lua_socket_tcp.c#L5801
- github.com https://github.com/openresty/stream-lua-nginx-module/commit/7581c68b43e1645bffe0d7262b1f4230d9698a6a
- github.com https://github.com/openresty/stream-lua-nginx-module/commit/9591e20ab754e78437b7519053ff496aca25f531
- github.com https://github.com/openresty/stream-lua-nginx-module/tree/v0.0.20rc4
- vulncheck.com https://www.vulncheck.com/advisories/openresty-stream-lua-nginx-module-before-0.0-20rc4-use-after-free-via-cosocket-receiveuntil