CVE-2026-136412: Vulnerability in Openresty Stream-lua-nginx-module
Critical. 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-416
- Exploitation
- None confirmed
- Severity
- 9.2 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-q6cp-77cr-6x4f
- Vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-416
- Published
- 24 Nov 2026
- Last change
- 4 Dec 2026
Affected products
Affected versions and the first fixed release
- Openresty Stream-lua-nginx-module Before 0.0.20rc4. Fixed in 0.0.20rc4
Advisories
Vendor and security advisories
- github.com/openresty/stream-lua-nginx-module/tree/v0.0.20rc4
- github.com/openresty/stream-lua-nginx-module/blob/7581c68b43e1645bffe0d7262b1f4230d9698...
- vulncheck.com/advisories/openresty-stream-lua-nginx-module-before-0.0-20rc4-use-after-f...
Patches and fixes
Updates, commits and release notes
- github.com/openresty/stream-lua-nginx-module/commit/9591e20ab754e78437b7519053ff496aca2...
- github.com/openresty/stream-lua-nginx-module/commit/7581c68b43e1645bffe0d7262b1f4230d96...
Related
- Stream-lua-nginx-module vulnerabilities Recent advisories, watch this product