OpenResty stream-lua-nginx-module
OpenResty 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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.0.20rc4
Fixed in 0.0.20rc4
Mitigation
Upgrade stream-lua-nginx-module to 0.0.20rc4 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 6 h after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-136412 (created 25 Nov 2026, found by us: 25 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-136412 | 25 Nov 2026 +6 h | 25 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.