Home › CVE › Vulnerabilities
CVE-2026-142097 — swoole
One of 3 swoole vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an out-of-bounds read in onAccept() of swoole_http_server_coro.cc that mishandles requests prefixed with CRLFCRLF. Remote unauthenticated attackers can make getContent() return up to 64 KB of heap memory, leaking other connections' Authorization and Cookie headers or crashing the server.
Severity breakdown
High · 8.8
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 confidentiality and availability, none on integrity
- Impact on other systems
- none
Weakness
- CWE-125: Out-of-bounds Read
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/14d6d0b4e91952b959b14dacd1bf58d1ec2…
- github.com/swoole/swoole-src/commit/9aa3042878c31cc29a6233bcc0a7bbe5d0e…
- github.com/swoole/swoole-src/commit/b844636e7675af1791727a0b157dd2130fd…
- 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-142097?
Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an out-of-bounds read in onAccept() of swoolehttpservercoro.cc that mishandles requests prefixed with CRLFCRLF. Remote unauthenticated attackers can make getContent() return up to 64 KB of heap memory, leaking other connections' Authorization and Cookie headers or crashing the server. Weakness type: Out-of-bounds Read (CWE-125).
How severe is CVE-2026-142097?
CVE-2026-142097 has a CVSS 4.0 base score of 8.8 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-142097 being exploited?
Not as far as is known: CVE-2026-142097 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026.
Which versions are affected by CVE-2026-142097?
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-142097?
Update to a fixed release: swoole 6.1.14; swoole 6.2.7.