CVE-2026-136412 PUBLISHED

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

Assigner: VulnCheck
Reserved: 24.11.2026 Published: 24.11.2026 Updated: 24.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 9.2

Product Status

Vendor openresty
Product stream-lua-nginx-module
Versions Default: unaffected
  • affected from 0 to 0.0.20rc4 (excl.)

Credits

  • Nuno - Maze HQ finder

References

Problem Types

  • Use After Free CWE