CVE-2026-142096
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/swoole/swoole-src
- https://github.com/swoole/swoole-src/blob/v6.2.6/ext-src/swoole_redis_server.cc#L126-L145
- https://github.com/swoole/swoole-src/commit/bae77c64a87f76f31c86053776298a58e88aac8b
- https://github.com/swoole/swoole-src/commit/e42411a1556abb475e767e9a850932e79fc3bfec
- https://github.com/swoole/swoole-src/commit/fa79fa8a339d05c71ecd9bf52c2d333cb321e3c9
- https://github.com/swoole/swoole-src/releases/tag/v6.1.14
- https://github.com/swoole/swoole-src/releases/tag/v6.2.7
- https://www.vulncheck.com/advisories/swoole-before-6.1.14-and-6.2-x-before-6.2.7-redis-server-out-of-bounds-read
CWEs
CWE-125
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.