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-142096: 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 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.
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/fa79fa8a339d05c71ecd9bf52c2d333cb321e3c9 — CVE Program
- https://github.com/swoole/swoole-src/commit/e42411a1556abb475e767e9a850932e79fc3bfec — CVE Program
- https://github.com/swoole/swoole-src/commit/bae77c64a87f76f31c86053776298a58e88aac8b — CVE Program
- https://github.com/swoole/swoole-src/blob/v6.2.6/ext-src/swoole_redis_server.cc#L126-L145 — 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-redis-server-out-of-bounds-read — CVE Program
Weaknesses (CWE): CWE-125
Relevant change history
Published
Preliminary advisory published.