GHSA-5m45-3vwh-5fq9HighCVSS 7.5
Swoole before 6.1.14 and 6.2.x before 6.2.7 contains a memory leak in the HTTP/2 header callback...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (10)
- https://nvd.nist.gov/vuln/detail/CVE-2026-142095
- https://github.com/swoole/swoole-src/commit/70c200aee420366c05d2104b769527e8c1a5b330
- https://github.com/swoole/swoole-src/commit/8f81e1b44c1a926342a01c3413a6b1aa67e27ea5
- https://github.com/swoole/swoole-src/commit/98b7561c30f7a5b76b36201c193c8083d84db83f
- https://github.com/swoole/swoole-src
- https://github.com/swoole/swoole-src/blob/v6.2.6/ext-src/swoole_http2_server.cc#L1031
- https://github.com/swoole/swoole-src/releases/tag/v6.1.14
- https://github.com/swoole/swoole-src/releases/tag/v6.2.7
- https://www.vulncheck.com/advisories/swoole-before-6.1.14-and-6.2-x-before-6.2.7-http-2-memory-leak-via-repeated-path
- https://github.com/advisories/GHSA-5m45-3vwh-5fq9