CVE-2026-142096
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 php_swoole_redis_server_onReceive() that trusts unchecked RESP bulk string lengths. Unauthenticated clients can announce oversized lengths to leak adjacent worker heap memory in responses, or negative lengths to crash workers.
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_redis_server.cc#L126-L145
- github.com/swoole/swoole-src/commit/bae77c64a87f76f31c86053776298a58e88aac8b
- github.com/swoole/swoole-src/commit/e42411a1556abb475e767e9a850932e79fc3bfec
- github.com/swoole/swoole-src/commit/fa79fa8a339d05c71ecd9bf52c2d333cb321e3c9
- 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-redis-server-out-
- nvd.nist.gov/vuln/detail/CVE-2026-142096
- cve.org/CVERecord?id=CVE-2026-142096
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.