CVE-2026-142096: Vulnerability in Swoole
Critical. 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.
CWE-125
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-79wv-3p8j-cm7j
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Weakness
- CWE-125
- Published
- 2 Dec 2026
- Last change
- 3 Dec 2026
Affected products
Affected versions and the first fixed release
- Swoole Before 6.1.14; From 6.2.0 before 6.2.7. Fixed in 6.1.14, 6.2.7
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/swoole/swoole-src/commit/fa79fa8a339d05c71ecd9bf52c2d333cb321e3c9
- github.com/swoole/swoole-src/commit/e42411a1556abb475e767e9a850932e79fc3bfec
- github.com/swoole/swoole-src/commit/bae77c64a87f76f31c86053776298a58e88aac8b
- github.com/swoole/swoole-src/releases/tag/v6.1.14
- github.com/swoole/swoole-src/releases/tag/v6.2.7
Related
- Swoole vulnerabilities Recent advisories, watch this product