CVE-2026-136412 - OpenResty stream-lua-nginx-module before 0.0.20rc4 Use-After-Free via cosocket receiveuntil()
Vulnerability · Reported by NVD · · CWE-416
- Severity
- Critical Risk score 92/100
- CVSS
- 9.2 v4.0 · from NVD
- Exploit chance (EPSS)
- 0.95% Higher than 60% of CVEs
- Known exploited
- No Not in CISA KEV
Summary
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.
How this vulnerability can be exploited
This is a use-after-free flaw (CWE-416). An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is high, meaning specific conditions must exist first.
Is it being exploited?
The EPSS model estimates a 0.95% chance this CVE will be exploited in the next 30 days, which is low and higher than 60% of all published CVEs.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S
Tags
Web servers, CVE-2026-136412
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-136412 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.