CVE-2026-136412 OpenResty stream-lua-nginx-module before 0.0.20rc4 Use-After-Free via cosocket receiveuntil()

Published Updated

CVSS score

Critical

9.2/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
Available
0.0.20rc4
Attack path
Over the network
No login, no user action

What is CVE-2026-136412?

CVE-2026-136412 is a critical vulnerability in openresty stream-lua-nginx-module, published on 24 Nov 2026.

Official 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.

Weakness: CWE-416

How severe is CVE-2026-136412?

CVE-2026-136412 scores 9.2 out of 10 under CVSS 4.0, which is critical severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High

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

Which versions are affected by CVE-2026-136412?

1 open source package ship an affected version, including openresty/stream-lua-nginx-module.

PackageAffectedFixed in
openresty/stream-lua-nginx-module GitHub
pkg:github/openresty/stream-lua-nginx-module
All versions0.0.20rc4

How do I fix CVE-2026-136412?

Upgrade openresty/stream-lua-nginx-module to 0.0.20rc4 or later.

Is CVE-2026-136412 being exploited?

There is no known exploitation of CVE-2026-136412 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-q6cp-77cr-6x4f.

Is CVE-2026-136412 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free