CVE-2026-142096: Swoole before 6.1.14 and 6.2.x before 6.2.7 Redis Server Out-of-Bounds Read
Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an out-of-bounds read in phpswooleredisserveronReceive() 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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to remote attack?
Deployments using the affected Swoole Redis Server functionality are exposed if unauthenticated clients can connect to it. The issue is remotely reachable and requires no privileges or user interaction.
What can an attacker achieve?
An attacker can send RESP bulk-string lengths that are not properly checked. Oversized lengths can disclose adjacent worker heap memory in responses, while negative lengths can crash workers.
Which versions should be updated?
Update Swoole to 6.1.14 or later on the 6.1 branch, or to 6.2.7 or later on the 6.2 branch. Versions before 6.1.14 and 6.2.x versions before 6.2.7 are affected.