CVE-2026-142097: swoole Out-of-Bounds

CVE-2026-142097

NVD

Vulnerability Summary

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.
Severity Level
HIGH(8.8)
Published Date
Dec 2, 2026
Last Modified
Dec 2, 2026
Exploitation Status
No confirmed exploitation yet
Root Weakness (CWE)
The software reads data past the end, or before the beginning, of the intended buffer.
CVSS v4.0 Base Metrics — Score 8.8 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 9.1)
CVSS v3.1 Base Metrics — Score 9.1 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • swoole < 6.1.14
  • swoole >= 6.2.0 and < 6.2.7
Patched Versions
  • swoole 6.1.14
  • swoole 6.2.7

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run swoole and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Dec 2, 2026Published
  • Dec 2, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new swoole CVEsYou are reading CVE-2026-142097. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 2, 2026 12:29 UTC