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

Patches and fixes

Updates, commits and release notes

Related