CVE-2026-136412: openresty stream-lua-nginx-module · Use After Free
Affects openresty stream-lua-nginx-moduleSource CVE Database V5
Not known to be exploited · CVSS 9.2 Critical : upgrade to 0.0.20rc4 as a priority.
Data as of 24 Nov 2026, 19:11 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 9.2 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 8.1 |
- Patch
- Available – fixed in 0.0.20rc4
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade openresty stream-lua-nginx-module to 0.0.20rc4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| openrestystream-lua-nginx-module | Affected
| Fixed in
|
GitHubstream-lua-nginx-modulepkg:github/stream-lua-nginx-moduleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to OpenResty stream-lua-nginx-module version 0.0.20rc4 or later, where this use-after-free vulnerability is fixed. No other mitigation is necessary as the fix is available.
Description
A use-after-free vulnerability exists in OpenResty's stream-lua-nginx-module versions before 0.0.20rc4. This flaw occurs when a receiveuntil() pattern iterator is garbage-collected while still referenced by the socket, allowing remote attackers to cause access to freed memory. Exploitation can lead to crashes or corruption of the nginx worker process by interrupting or closing the cosocket connection, which results in stale pointer usage during later socket operations.
References
- github.com/openresty/stream-lua-nginx-module/commit/9591e20ab754e78437b7519053ff496aca25f531 (opens in a new tab)
- github.com/openresty/stream-lua-nginx-module/commit/7581c68b43e1645bffe0d7262b1f4230d9698a6a (opens in a new tab)
- github.com/openresty/stream-lua-nginx-module/tree/v0.0.20rc4 (opens in a new tab)
- github.com/openresty/stream-lua-nginx-module/blob/7581c68b43e1645bffe0d7262b1f4230d9698a6a/src/ngx_stream_lua_socket_tcp.c (opens in a new tab)
- vulncheck.com/advisories/openresty-stream-lua-nginx-module-before-0.0-20rc4-use-after-free-via-cosocket-receiveuntil (opens in a new tab)