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

Published Nov 24, 2026
·
Updated

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.

Affected Software

1 affected component
OpenResty stream-lua-nginx-module<0.0.20rc4

Event History

Nov 24, 2026
CVE Published
via MITRE·06:45 PM
Data Sourced
via MITRE·06:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:18 PM
DescriptionSeverityWeakness
Event
via NVD·07:18 PM

Frequently Asked Questions

1

Who can exploit this issue?

A remote peer that can establish or interact with a cosocket connection to an affected stream-lua-nginx-module deployment may be able to trigger it. No authentication or user interaction is indicated by the provided vector.

2

What conditions are needed to trigger the vulnerability?

The affected Lua code must use a receiveuntil() pattern iterator that is garbage-collected while the socket still retains a reference to it. The remote peer can then interrupt or close the connection, causing later reads or socket cleanup to use the stale pointer.

3

What is the impact if exploitation succeeds?

The issue can cause access to freed memory in an nginx worker. This may crash or corrupt the worker, with high confidentiality, integrity, and availability impact indicated by the severity vector.

4

Which versions are affected?

Versions of OpenResty stream-lua-nginx-module before 0.0.20rc4 are affected. The provided references include the v0.0.20rc4 source tree and two remediation commits.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203