CVE-2026-142097: Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an out-of-bounds read in onAccept() of swoole_http_server
CVE-2026-142097 is a critical-severity flaw (CVSS 9.1) affecting swoole. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an out-of-bounds read in onAccept() of swoole_http_server_coro.cc that mishandles requests prefixed with CRLFCRLF. Remote unauthenticated attackers can make getContent() return up to 64 KB of heap memory, leaking other connections' Authorization and Cookie headers or crashing the server.
Why this priority
- Critical severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.1 (Critical) |
| EPSS exploit chance | n/a |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2026-12-02 |
| Last modified | 2026-12-02 |
Last updated 2026-12-02 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-142097?
swoole: upgrade to 6.1.14, 6.2.7. Exact commands for each OS are on this page.
Is CVE-2026-142097 being exploited?
CVE-2026-142097 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-142097 affect?
CVE-2026-142097 affects swoole. Severity is critical (CVSS 9.1). Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an out-of-bounds read in onAccept() of swoole_http_server_coro.cc that mishandles requests prefixed with CRLFCRLF. Remote unauthenticated attackers can make getContent() return up to 64 K
How urgent is CVE-2026-142097?
Priority 32/100. Critical severity
Related CVEs
- CVE-2026-142095 HIGH 7.5 UPGRADE Swoole before 6.1.14 and 6.2.x before 6.2.7 contains a memory leak in the HTTP/2 header callback that copies e
- CVE-2026-142096 CRITICAL 9.1 UPGRADE Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an out-of-bounds read in php_swoole_redis_server_onReceiv
- CVE-2020-24275 MEDIUM 6.5 DOWNGRADE A HTTP response header injection vulnerability in Swoole v4.5.2 allows attackers to execute arbitrary code via
- CVE-2019-15518 MEDIUM 5.3 UPGRADE Swoole before 4.2.13 allows directory traversal in swPort_http_static_handler.
- CVE-2018-15503 HIGH 7.5 DOWNGRADE The unpack implementation in Swoole version 4.0.4 lacks correct size checks in the deserialization process