Use-After-Free Vulnerability in OpenResty Stream-Lua-Nginx-Module
CVE-2026-136412

9.2CRITICAL

Key Information:

Vendor

Openresty

Vendor
CVE Published:
24 November 2026

What is CVE-2026-136412?

The OpenResty stream-lua-nginx-module prior to version 0.0.20rc4 contains a use-after-free vulnerability. This issue arises when a receiveuntil() pattern iterator is garbage-collected while still being referenced by a socket, enabling remote peers to manipulate freed memory. Attackers can disrupt or terminate the cosocket connection, causing further reads or socket closure to reference a stale pointer, potentially leading to crashes or memory corruption in the nginx worker processes.

Affected Version(s)

stream-lua-nginx-module 0 < 0.0.20rc4

References

CVSS V4

Score:
9.2
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Nuno - Maze HQ
.