CVE Explore

Use After Free in Openresty Stream-Lua-Nginx-Module

CVE-2026-136412

CVSS v3
8.1 High
Public exploits
1 repository
EPSS
0.009 · 59.7th percentile
Published
2026-11-24

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.

Vulnerability class: Use-After-Free

Published .

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Attack Vector
Network AV:N
Attack Complexity
High AC:H
Privileges Required
None PR:N
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
High C:H
Integrity
High I:H
Availability
High A:H

EPSS exploit prediction

EPSS 0.009, 59.7th percentile (last changed ). About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

  • googlesky/CVE-2026-136412 (last pushed 2026-11-25): OpenResty stream-lua before 7581c68b: receiveuntil iterator back-pointer outlives socket — Lua __gc writes through freed memory. ASan differential: heap-use-after-free on vuln, clean shutdown on fixed

References