Read the docs

Out-of-bounds read in Swoole coroutine HTTP server leaks memory

Priority MEDIUM 53CWE-125Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Swoole before 6.1.14 and 6.2.x before 6.2.7 contains an out-of-bounds read (CWE-125) in the coroutine HTTP server's accept handling, where requests prefixed with CRLFCRLF are mishandled. A remote unauthenticated attacker can make getContent() return up to 64 KB of heap memory, leaking other connections' Authorization and Cookie headers or crashing the server.

Written with Claude Haiku 5.5 from the sources below · 2026-12-02

Description from the CNA

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 it matters now

Fix Fixed swoole (swoole): 6.1.14, 6.2.7

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
swooleswoolebefore 6.1.14; 6.2.0 to before 6.2.76.1.14, 6.2.7Patch availableCNA
  • swoole Vendorswoole Affected before 6.1.14; 6.2.0 to before 6.2.7 Fixed in 6.1.14, 6.2.7 Patch available CNA

Remediation

Upgrade Swoole to version 6.1.14 or 6.2.7, which fix the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-12-02

  • Fix · CNA swoole (swoole) Fixed in 6.1.14, 6.2.7

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    swoole 6.1.14, 6.2.7

    3 records Highest priority Priority MEDIUM 3 MEDIUM

    Other records, highest priority first

    • TI-2026-102181 Swoole before 6.1.14 and 6.2.x before 6.2.7 Redis Server Out-of-Bounds ReadPriority MEDIUM 53
    • TI-2026-102180 Memory leak in Swoole HTTP/2 header handling via repeated :pathPriority MEDIUM 53

Timeline

  1. 2026-12-02 Threatist record created from CVE-2026-142097

References

  • TI-2020-14863 A HTTP response header injection vulnerability in Swoole v4.5.2 allows attackers to… CVSS 3.1MEDIUM 6.5
  • TI-2026-20013 A integer overflow in swoole/swoole-src CVSS 4.0CRITICAL 10.0
  • TI-2021-19512 matyhtf framework v3.0.5 is affected by a path manipulation vulnerability in Smarty.class.php. CVSS 3.1CRITICAL 9.8
  • TI-2018-11057 The unpack implementation in Swoole version 4.0.4 lacks correct size checks in the… CVSS 3.0HIGH 7.5
  • TI-2019-11618 Swoole before 4.2.13 allows directory traversal in swPort_http_static_handler. CVSS 3.0MEDIUM 5.3

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences