CVE-2026-136412

Source
https://cve.org/CVERecord?id=CVE-2026-136412
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-136412.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-136412
Published
2026-11-24T18:45:48Z
Modified
2026-11-24T20:00:10Z
Severity
  • 9.2 (Critical) CVSS_V4 - 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 Calculator
Summary
OpenResty stream-lua-nginx-module before 0.0.20rc4 Use-After-Free via cosocket receiveuntil()
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-416"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136412.json"
}
References

Affected packages

Git / github.com/openresty/stream-lua-nginx-module

Affected ranges

Type
GIT
Repo
https://github.com/openresty/stream-lua-nginx-module
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "0.0.20rc4"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "9591e20ab754e78437b7519053ff496aca25f531"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "7581c68b43e1645bffe0d7262b1f4230d9698a6a"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v0.*
v0.0.1
v0.0.10
v0.0.10rc1
v0.0.10rc2
v0.0.11
v0.0.11rc1
v0.0.12
v0.0.12rc1
v0.0.13
v0.0.13rc1
v0.0.14
v0.0.14rc1
v0.0.15
v0.0.16
v0.0.17
v0.0.17.1rc1
v0.0.17R2
v0.0.17R4
v0.0.17rc1
v0.0.17rc2
v0.0.17rc3
v0.0.17rc4
v0.0.18RC1
v0.0.18RC2
v0.0.19rc1
v0.0.19rc2
v0.0.19rc3
v0.0.19rc4
v0.0.2
v0.0.20rc1
v0.0.20rc2
v0.0.3
v0.0.4
v0.0.4rc1
v0.0.4rc2
v0.0.4rc3
v0.0.5
v0.0.5rc1
v0.0.6
v0.0.6rc1
v0.0.6rc2
v0.0.6rc3
v0.0.6rc4
v0.0.6rc5
v0.0.6rc6
v0.0.7
v0.0.7rc1
v0.0.8
v0.0.8rc1
v0.0.8rc2
v0.0.8rc3
v0.0.9
v0.0.9rc1
v0.0.9rc2
v0.0.9rc3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-136412.json"