Redpacketsecurity OpenResty stream-lua use-after-free flaw CVE-2026-136412 disclosed with public PoC
Article Content
- •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.
Ask AI about this cluster
Answers cite the sources they use
Timeline
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?
Is this being exploited in the wild?
What should we do first?
Continue Reading
CVE-2026-123890: Auth bypass in VMware vCenter exploited by Armory Castle before patch CVE-2026-123890, a flaw in VMware vCenter Server rated CVSS 9.8, allows an unauthenticated remote attacker to obtain an administrator session on the platform. According to the Google Threat Intelligence Group, the flaw was exploited by the espionage group Armory Castle (formerly UNC5221), which has suspected China…