Swoole before 6.1.14 and 6.2.x before 6.2.7 Redis Server Out-of-Bounds Read
CVE-2026-142096Published 2 Dec 2026, 12:19 UTC
Real-world risk
6.8/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.8
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| swooleNiche | < 6.1.14; >= 6.2.0, < 6.2.7 | 6.1.14, 6.2.7 |
What to do
Update to a fixed version: 6.1.14, 6.2.7.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 1 × threat 0.856.800
- Rounded to one decimal between 0.1 and 106.8
Exploitation and evidence timeline
- 2 Dec 2026 Published
- 2 Dec 2026 Risk 6.8 (cvss fallback)
Weakness
CWE-125
References
- https://github.com/swoole/swoole-src/commit/fa79fa8a339d05c71ecd9bf52c2d333cb321e3c9patch
- https://github.com/swoole/swoole-src/commit/e42411a1556abb475e767e9a850932e79fc3bfecpatch
- https://github.com/swoole/swoole-src/commit/bae77c64a87f76f31c86053776298a58e88aac8bpatch
- https://github.com/swoole/swoole-src/blob/v6.2.6/ext-src/swoole_redis_server.cc#L126-L145technical-description
- https://github.com/swoole/swoole-src/releases/tag/v6.1.14release-notes
- https://github.com/swoole/swoole-src/releases/tag/v6.2.7release-notes
- https://github.com/swoole/swoole-srcproduct
- https://www.vulncheck.com/advisories/swoole-before-6.1.14-and-6.2-x-before-6.2.7-redis-server-out-of-bounds-readthird-party-advisory
- CVE-2026-142096 on CVE.org