Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › swoole

High 8.8 3 CVEs Analysis

Swoole flaws leak server memory and can crash workers; fixes in 6.1.14 and 6.2.7

NVD published three high-severity Swoole vulnerabilities together: two out-of-bounds reads and one memory leak, all reachable by unauthenticated remote clients. The records say versions before 6.1.14 and 6.2.x before 6.2.7 are affected.

What to look into

  • 3 vulnerabilities in swoole: 3 high (CVSS up to 8.8).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-142097 (8.8 high): Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an out-of-bounds read in onAccept() of swoolehttpservercoro.cc that mishandles requests prefixed with CRLFCRLF. Remote unauthenticated attackers c… An attacker without an account can exploit this over the network, without any user action.
  • 3 of 3 can be attacked over the network without logging in, 3 of them without anyone clicking anything.
  • Kinds of flaws: Out-of-bounds Read (×2); Missing Release of Memory after Effective Lifetime.
VulnerabilitiesWeb

Key points

  • Three HIGH-severity flaws in Swoole: two out-of-bounds reads and one memory leak
  • CVE-2026-142097 (CVSS 8.8) can leak other connections' Authorization and Cookie headers from HTTP requests
  • CVE-2026-142096 (CVSS 8.8) can leak heap memory through crafted Redis RESP lengths
  • CVE-2026-142095 (CVSS 8.7) leaks megabytes per request and can terminate workers
  • Records do not say whether any of these are exploited in the wild

What the batch covers

The three records describe memory-safety flaws in Swoole, each rated HIGH. CVE-2026-142097 and CVE-2026-142096 are both scored CVSS 8.8, and CVE-2026-142095 is scored 8.7. Each record says the flaw can be triggered by remote, unauthenticated attackers.

Out-of-bounds reads

CVE-2026-142097 is an out-of-bounds read in the HTTP server's onAccept() handling, triggered by requests prefixed with CRLFCRLF. According to the record, it can make getContent() return up to 64 KB of heap memory, which may expose other connections' Authorization and Cookie headers, or crash the server.

CVE-2026-142096 is an out-of-bounds read in the Redis server's onReceive() path. It trusts RESP bulk string lengths without checking them. Oversized lengths can leak adjacent worker heap memory in responses, and negative lengths can crash workers.

Memory leak

CVE-2026-142095 is a leak in the HTTP/2 header callback. Each repeated :path pseudo-header is copied without the earlier value being freed. The record says repeated :path entries sent through HPACK dynamic-table references can leak megabytes per request and terminate server workers.

Scope and fixes

All three records say the flaws affect Swoole before 6.1.14 and 6.2.x before 6.2.7. The records do not state whether any of these issues is being exploited, and they give no workaround or detection guidance.

Priorities

The two CVSS 8.8 issues are the most serious because they expose data from other clients or crash workers from unauthenticated input. Administrators running affected branches should plan the upgrade now.

What to do

  1. Upgrade Swoole 6.1.x installations to 6.1.14 or later
  2. Upgrade Swoole 6.2.x installations to 6.2.7 or later

Our article about all 3 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 3 vulnerabilities

  • CVE-2026-142097 8.8 Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an out-of-bounds read in onAccept() of swoolehttpservercoro.cc that mishandles requests prefixed with CRLFCRLF. Remote unauthenticated attackers can make getContent() return up to 64 KB…
  • CVE-2026-142096 8.8 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 he…
  • CVE-2026-142095 8.7 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 each repeated :path pseudo-header without freeing the earlier value. Remote unauthenticated attackers can send HEADERS frames repe…

Frequently asked questions

How many swoole vulnerabilities were published on December 2, 2026?

3 vulnerabilities: 3 high, with CVSS scores up to 8.8.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-142097 (CVSS 8.8): Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an out-of-bounds read in onAccept() of swoolehttpservercoro.cc that mishandles requests prefixed with CRLFCRLF. Remote unauthenticated attackers c…

Original records