CVE-2026-142095: Swoole before 6.1.14 and 6.2.x before 6.2.7 HTTP/2 Memory Leak via Repeated :path
Swoole before 6.1.14 and 6.2.x before 6.2.7 contains a memory leak in the HTTP/2 header callback that copies each repeated :path pseudo-header without freeing the earlier value. Remote unauthenticated attackers can send HEADERS frames repeating :path via HPACK dynamic-table references to leak megabytes per request and terminate server workers.
Affected Software
Event History
Frequently Asked Questions
Which Swoole releases are affected?
Affected releases are Swoole versions before 6.1.14 and 6.2.x versions before 6.2.7. Upgrading to 6.1.14 or a 6.2.x release at or after 6.2.7 addresses the affected version ranges.
What must an attacker be able to do to exploit this issue?
An attacker needs network access to a Swoole service that accepts HTTP/2 requests. No authentication or user interaction is required; the attacker sends HEADERS frames with repeated :path pseudo-headers using HPACK dynamic-table references.
What operational symptoms can indicate exploitation?
The vulnerable HTTP/2 header handling leaks megabytes of memory per malicious request. Repeated requests can exhaust worker memory and terminate server workers, resulting in an availability impact.