CVE-2026-142095 — swoole
One of 3 swoole vulnerabilities published together by NVD: our article covers all of them.
WebVulnerabilitiesSummary
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.
Severity breakdown
High · 8.7
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- high on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-401: Missing Release of Memory after Effective Lifetime
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| swoole | < 6.1.14 | 6.1.14 |
| ≥ 6.2.0, < 6.2.7 | 6.2.7 |
References by type
Patches and fixed releases
- github.com/swoole/swoole-src/commit/70c200aee420366c05d2104b769527e8c1a…
- github.com/swoole/swoole-src/commit/8f81e1b44c1a926342a01c3413a6b1aa67e…
- github.com/swoole/swoole-src/commit/98b7561c30f7a5b76b36201c193c8083d84…
- github.com/swoole/swoole-src/releases/tag/v6.1.14
- github.com/swoole/swoole-src/releases/tag/v6.2.7
Other references
Affected
- swoole
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142095?
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. Weakness type: Missing Release of Memory after Effective Lifetime (CWE-401).
How severe is CVE-2026-142095?
CVE-2026-142095 has a CVSS 4.0 base score of 8.7 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-142095 being exploited?
Not as far as is known: CVE-2026-142095 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026.
Which versions are affected by CVE-2026-142095?
swoole < 6.1.14 (fixed in 6.1.14); swoole ≥ 6.2.0, < 6.2.7 (fixed in 6.2.7).
How do I fix CVE-2026-142095?
Update to a fixed release: swoole 6.1.14; swoole 6.2.7.