CVE-2026-136412openresty stream-lua-nginx-module
Use-after-free vulnerability in OpenResty stream-lua-nginx-module
Critical 9.2 No auth neededRecent
Follow: this CVE · openresty · openresty stream-lua-nginx-module We alert you by email or Slack (account required).
- Priority
- 77
- CVSS 4.0
- 9.2
- EPSS
- —
- Auth required
- No
- Published
- Nov 24, 2026
- Updated
- Nov 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-416
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- 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:X/AU:X/R:X/V:X/RE:X/U:X
What happens
OpenResty stream-lua-nginx-module before 0.0.20rc4 contains a use-after-free vulnerability allowing remote attackers to access freed memory when a receiveuntil() pattern iterator is garbage-collected while still referenced by the socket. An attacker can interrupt or close the cosocket connection causing subsequent reads or socket closure to use a stale pattern pointer, leading to nginx worker crash or memory corruption.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 0.0.20rc4
Update stream-lua-nginx-module to version 0.0.20rc4 or later.
- Apply the vendor's security update for stream-lua-nginx-module.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- openresty · stream-lua-nginx-module
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.