CVE-2026-142097: Vulnerability in Swoole

Critical. 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.

CWE-125

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-j295-5v2j-7vmp
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness
CWE-125
Published
2 Dec 2026
Last change
5 Dec 2026

Affected products

Affected versions and the first fixed release

  • Swoole Before 6.1.14; From 6.2.0 before 6.2.7. Fixed in 6.1.14, 6.2.7

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related