Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-142097: high-severity vulnerability (CVSS 8.8) in swoole swoole.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.8.
Affected products and versions
swoole swoole < 6.1.14; swoole swoole >= 6.2.0, < 6.2.7
| Product | Versions | Fixed in |
|---|---|---|
| swoole swoole | < 6.1.14 | — |
| swoole swoole | >= 6.2.0, < 6.2.7 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/swoole/swoole-src/commit/14d6d0b4e91952b959b14dacd1bf58d1ec24426d — CVE Program
- https://github.com/swoole/swoole-src/commit/b844636e7675af1791727a0b157dd2130fd4a85f — CVE Program
- https://github.com/swoole/swoole-src/commit/9aa3042878c31cc29a6233bcc0a7bbe5d0e93cfc — CVE Program
- https://github.com/swoole/swoole-src/blob/v6.2.6/ext-src/swoole_http_server_coro.cc#L599-L693 — CVE Program
- https://github.com/swoole/swoole-src/releases/tag/v6.1.14 — CVE Program
- https://github.com/swoole/swoole-src/releases/tag/v6.2.7 — CVE Program
- https://github.com/swoole/swoole-src — CVE Program
- https://www.vulncheck.com/advisories/swoole-before-6.1.14-and-6.2-x-before-6.2.7-out-of-bounds-read-via-coroutine-http-server — CVE Program
Weaknesses (CWE): CWE-125
Relevant change history
Published
Preliminary advisory published.