Swoole before 6.1.14 and 6.2.x before 6.2.7 HTTP/2 Memory Leak via Repeated :path
CVE-2026-142095Published 2 Dec 2026, 12:19 UTC
Real-world risk
3.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.7
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| swooleNiche | < 6.1.14; >= 6.2.0, < 6.2.7 | 6.1.14, 6.2.7 |
What to do
Update to a fixed version: 6.1.14, 6.2.7.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 1 × threat 0.853.400
- Rounded to one decimal between 0.1 and 103.4
Exploitation and evidence timeline
- 2 Dec 2026 Published
- 2 Dec 2026 Risk 3.4 (cvss fallback)
Weakness
CWE-401
References
- https://github.com/swoole/swoole-src/commit/98b7561c30f7a5b76b36201c193c8083d84db83fpatch
- https://github.com/swoole/swoole-src/commit/70c200aee420366c05d2104b769527e8c1a5b330patch
- https://github.com/swoole/swoole-src/commit/8f81e1b44c1a926342a01c3413a6b1aa67e27ea5patch
- https://github.com/swoole/swoole-src/blob/v6.2.6/ext-src/swoole_http2_server.cc#L1031technical-description
- https://github.com/swoole/swoole-src/releases/tag/v6.1.14release-notes
- https://github.com/swoole/swoole-src/releases/tag/v6.2.7release-notes
- https://github.com/swoole/swoole-srcproduct
- https://www.vulncheck.com/advisories/swoole-before-6.1.14-and-6.2-x-before-6.2.7-http-2-memory-leak-via-repeated-paththird-party-advisory
- CVE-2026-142095 on CVE.org