Home › CVE › Vulnerabilities
CVE-2026-142096 — swoole
One of 3 swoole vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
High · 8.8
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- high on confidentiality and availability, none on integrity
- Impact on other systems
- none
Weakness
- CWE-125: Out-of-bounds Read
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| swoole | < 6.1.14 | 6.1.14 |
| ≥ 6.2.0, < 6.2.7 | 6.2.7 |
References by type
Patches and fixed releases
- github.com/swoole/swoole-src/commit/bae77c64a87f76f31c86053776298a58e88…
- github.com/swoole/swoole-src/commit/e42411a1556abb475e767e9a850932e79fc…
- github.com/swoole/swoole-src/commit/fa79fa8a339d05c71ecd9bf52c2d333cb32…
- github.com/swoole/swoole-src/releases/tag/v6.1.14
- github.com/swoole/swoole-src/releases/tag/v6.2.7
Other references
Affected
- swoole
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142096?
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. Weakness type: Out-of-bounds Read (CWE-125).
How severe is CVE-2026-142096?
CVE-2026-142096 has a CVSS 4.0 base score of 8.8 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-142096 being exploited?
Not as far as is known: CVE-2026-142096 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-142096?
swoole < 6.1.14 (fixed in 6.1.14); swoole ≥ 6.2.0, < 6.2.7 (fixed in 6.2.7).
How do I fix CVE-2026-142096?
Update to a fixed release: swoole 6.1.14; swoole 6.2.7.