CVE-2026-136412
OpenResty stream-lua-nginx-module before 0.0.20rc4 Use-After-Free via cosocket receiveuntil()
CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-416 |
| Vendor | openresty |
| Product | stream-lua-nginx-module |
| Published | Nov 24, 2026 |
Stay Ahead of the Next One
Get instant alerts for openresty stream-lua-nginx-module
Be the first to know when new high vulnerabilities affecting openresty stream-lua-nginx-module are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
openresty / stream-lua-nginx-module
0 < 0.0.20rc4
References
github.com: https://github.com/openresty/stream-lua-nginx-module/commit/9591e20ab754e78437b7519053ff496aca25f531 github.com: https://github.com/openresty/stream-lua-nginx-module/commit/7581c68b43e1645bffe0d7262b1f4230d9698a6a github.com: https://github.com/openresty/stream-lua-nginx-module/tree/v0.0.20rc4 github.com: https://github.com/openresty/stream-lua-nginx-module/blob/7581c68b43e1645bffe0d7262b1f4230d9698a6a/src/ngx_stream_lua_socket_tcp.c#L5801 vulncheck.com: https://www.vulncheck.com/advisories/openresty-stream-lua-nginx-module-before-0.0-20rc4-use-after-free-via-cosocket-receiveuntil
Credits
Nuno - Maze HQ