Swoole before 6.1.14 and 6.2.x before 6.2.7 Out-of-Bounds Read via Coroutine HTTP Server
CVE-2026-142097Published 2 Dec 2026, 12:19 UTC
Real-world risk
6.8/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.8
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 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.
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 | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| 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.8 × prerequisites 1 × threat 0.856.800
- Rounded to one decimal between 0.1 and 106.8
Exploitation and evidence timeline
- 2 Dec 2026 Published
- 2 Dec 2026 Risk 6.8 (cvss fallback)
Weakness
CWE-125
References
- https://github.com/swoole/swoole-src/commit/14d6d0b4e91952b959b14dacd1bf58d1ec24426dpatch
- https://github.com/swoole/swoole-src/commit/b844636e7675af1791727a0b157dd2130fd4a85fpatch
- https://github.com/swoole/swoole-src/commit/9aa3042878c31cc29a6233bcc0a7bbe5d0e93cfcpatch
- https://github.com/swoole/swoole-src/blob/v6.2.6/ext-src/swoole_http_server_coro.cc#L599-L693technical-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-out-of-bounds-read-via-coroutine-http-serverthird-party-advisory
- CVE-2026-142097 on CVE.org