CVE-2026-142097
Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/swoole/swoole-src
- github.com/swoole/swoole-src/blob/v6.2.6/ext-src/swoole_http_server_coro.cc#L599-L693
- github.com/swoole/swoole-src/commit/14d6d0b4e91952b959b14dacd1bf58d1ec24426d
- github.com/swoole/swoole-src/commit/9aa3042878c31cc29a6233bcc0a7bbe5d0e93cfc
- github.com/swoole/swoole-src/commit/b844636e7675af1791727a0b157dd2130fd4a85f
- github.com/swoole/swoole-src/releases/tag/v6.1.14
- github.com/swoole/swoole-src/releases/tag/v6.2.7
- www.vulncheck.com/advisories/swoole-before-6.1.14-and-6.2-x-before-6.2.7-out-of-bounds-rea
- nvd.nist.gov/vuln/detail/CVE-2026-142097
- cve.org/CVERecord?id=CVE-2026-142097
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.