Skip to content
OpenResty stream-lua use-after-free flaw CVE-2026-136412 disclosed with public PoC

OpenResty stream-lua use-after-free flaw CVE-2026-136412 disclosed with public PoC

First seen 25 Nov 2026, 05:50 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 25, 2026 at 05:51 UTC
  • •CVE-2026-136412 is a use-after-free in OpenResty stream-lua-nginx-module before 0.0.20rc4, rated CVSS 9.2.
  • •A remote peer may trigger the flaw by driving a cosocket into a read error while a receiveuntil() iterator exists.
  • •A public PoC driver and a lab-validated exploit description are available via Sploitus.
  • •The upstream fix (commit 7581c68b) detaches the compiled pattern's back-pointer before socket teardown.
  • •Real-world exploitability depends on stream-lua applications using receiveuntil on exposed sockets.

CVE-2026-136412 is a use-after-free vulnerability in OpenResty's stream-lua-nginx-module, affecting versions before 0.0.20rc4, per Redpacketsecurity. A receiveuntil() pattern iterator can be garbage-collected while still referenced by the socket, so later reads or socket closure may access freed memory. Redpacketsecurity states a remote peer may be able to trigger this by interrupting or closing a cosocket connection, potentially crashing or corrupting the nginx worker. Sploitus lists an exploit for the same CVE, with a lab-validated description stating a remote peer driving a read error could corrupt runtime memory; the Sploitus article includes a PoC driver and a fix referenced as commit 7581c68b. Redpacketsecurity notes that exploitation depends on a specific runtime condition requiring a stream-lua application using receiveuntil on a socket that can be driven into a read error. Redpacketsecurity states the supplied data does not establish whether exploitation is active or widespread. The CVE record lists a CVSS score of 9.2 and was published 2026-11-24.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Timeline

2026-11-24
CVE-2026-136412 published
Published with a CVSS score of 9.2 (critical) per the CVE record.
2026-11-25
Public exploit listed on Sploitus
Sploitus lists an exploit for the CVE with a PoC driver and lab-validated ASan use-after-free reproduction.
Sploitus
2026-11-25
Advisory coverage with remediation guidance
Redpacketsecurity published an alert recommending upgrade to the fixed release and prioritising reachable deployments.
Redpacketsecurity

More articles in this cluster (7)

Following this threat?

Track CVE-2026-136412 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Which versions are affected?
OpenResty stream-lua-nginx-module versions before 0.0.20rc4 are affected, according to Redpacketsecurity.
Is this being exploited in the wild?
The articles do not confirm active exploitation; Redpacketsecurity says the data does not establish whether exploitation is active, and a public PoC exists.
What should we do first?
Upgrade to the fixed release (0.0.20rc4 or later) and verify the module loaded at runtime; where patching is delayed, disable or refactor affected receiveuntil use and restrict exposed stream listeners.