CVE-2026-136412

8.1High

Published Nov 24, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

8.1CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
High
Privileges
None
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-416

What an attacker gets

Remote attackers can crash Nginx workers or potentially execute code by triggering a use-after-free condition. This requires the attacker to interrupt or close a cosocket connection during a receiveuntil() operation.

Root cause

A use-after-free vulnerability occurs when a receiveuntil() pattern iterator is garbage-collected while still referenced by the socket.

Affected versions

OpenResty stream-lua-nginx-module before 0.0.20rc4

CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to stream-lua-nginx-module version 0.0.20rc4 or later. If you cannot patch immediately, audit Lua scripts to avoid using receiveuntil() on untrusted socket connections.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-136412

More fully triaged vulnerabilities you may want to check next.