CVE-2026-142097: Swoole before 6.1.14 and 6.2.x before 6.2.7 Out-of-Bounds Read via Coroutine HTTP Server

Published Dec 2, 2026
·
Updated

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 of heap memory, leaking other connections' Authorization and Cookie headers or crashing the server.

Affected Software

1 affected component
Swoole Swoole<6.1.14, >=6.2.0<6.2.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Swoole to a version that resolves this vulnerability.

    Fixed in 6.1.14
  2. Upgrade

    Upgrade Swoole to a version that resolves this vulnerability.

    Fixed in 6.2.7

Event History

Dec 2, 2026
CVE Published
via MITRE·12:19 PM
Data Sourced
via MITRE·12:19 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Swoole versions earlier than 6.1.14, and 6.2.x versions earlier than 6.2.7, are affected when using the coroutine HTTP server code path.

2

What does an attacker need to exploit it?

An attacker can exploit the issue remotely without authentication or user interaction by sending an HTTP request prefixed with CRLFCRLF.

3

What information could be exposed?

The affected getContent() behavior can return up to 64 KB of heap memory. This may disclose data from other connections, including Authorization and Cookie headers.

4

Can exploitation affect availability as well as confidentiality?

Yes. In addition to leaking heap memory, the malformed request can crash the server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203