Swoole before 6.1.14, and 6.2.x before 6.2.7, has an out-of-bounds read in its Redis server handler that lets unauthenticated clients leak worker heap memory or crash workers.
What Is It
CVE-2026-142096 is an out-of-bounds read (CWE-125) in php_swoole_redis_server_onReceive() in Swoole. The function trusts RESP bulk string lengths without checking them. VulnCheck disclosed the flaw, and it was published to NVD on 2026-12-02. Its NVD status is still "Received."
According to the NVD description, an unauthenticated client can:
- Send an oversized length to leak adjacent worker heap memory back in responses.
- Send a negative length to crash workers.
The vulnerable code is in ext-src/swoole_redis_server.cc (lines 126–145 in v6.2.6).
Why It Matters
- CVSS 3.1: 9.1 CRITICAL (
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H). It can be exploited over the network with low complexity, no privileges and no user interaction. - CVSS 4.0: 8.8 HIGH. Confidentiality and availability impacts are rated high, and integrity impact is none.
- CISA SSVC: the CISA Coordinator assessment lists exploitation as none, automatable as yes, and technical impact as partial.
An attacker who can reach the server needs no credentials. The leaked heap data could expose whatever is sitting in a worker's memory, and the crash path gives a simple way to take services down.
KEV status: the supplied CISA KEV entry is empty. KEV does not confirm active exploitation, and the SSVC data reports no known exploitation.
What's Vulnerable
- Product: Swoole (
pkg:composer/swoole/swoole, repogithub.com/swoole/swoole-src) - Affected versions:
- All versions before 6.1.14
- 6.2.0 up to, but not including, 6.2.7
- Component: the Redis server receive handler (
php_swoole_redis_server_onReceive())
NVD lists no CPE entries for this record yet.
Patch Status
Fixed releases are available. Upgrade to Swoole 6.1.14 or Swoole 6.2.7 or later. The NVD references link both release tags and three commits in the swoole-src repository. No CISA KEV required action or due date applies, because the CVE is not in the supplied KEV data.