CVE-2026-142096 is a critical-severity (CVSS 9.1) Out-of-bounds Read vulnerability in swoole swoole. A fix is available — see the affected versions and patch details below.
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…
Description
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.
Affected Products
swooleswooleDetection & mitigation playbook
Vendor / applianceDetect
Inventory every swoole swoole deployment and check each version against the affected-products list above.
Fix
Apply the swoole swoole security patch or hotfix for CVE-2026-142096 on the affected version, following the vendor advisory for your exact build.
Workarounds
Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2026-142096 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.