CVE-2026-142097
Received Received - Intake

Out-of-Bounds Read in Swoole HTTP Server Coro

Vulnerability report for CVE-2026-142097, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-02
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
swoole swoole From 0 (inc) to 6.1.14 (exc)
swoole swoole From 6.2.0 (inc) to 6.2.7 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an out-of-bounds read in Swoole's HTTP server coroutine implementation. When a request is prefixed with CRLFCRLF (an empty header block), the getContent() function incorrectly reads up to 64 KB of heap memory before the actual request buffer. This can leak sensitive data like Authorization and Cookie headers from other connections or crash the server.

Detection Guidance

To detect this vulnerability, check the Swoole version running on your system. Run: swoole --version. If the version is before 6.1.14 or 6.2.x before 6.2.7, the system is vulnerable. Additionally, monitor for crashes or memory leaks when handling HTTP requests with malformed headers.

Impact Analysis

Remote unauthenticated attackers could exploit this to leak sensitive HTTP headers from other connections, potentially exposing authentication tokens or session cookies. The attack may also cause server crashes, leading to denial-of-service conditions.

Compliance Impact

This vulnerability could lead to unauthorized exposure of personal data (e.g., cookies, auth headers), violating GDPR's data protection principles and HIPAA's safeguards for protected health information. Organizations using vulnerable Swoole versions may face compliance violations and legal risks.

Mitigation Strategies

Upgrade Swoole to version 6.1.14 or later, or 6.2.7 or later. If upgrading is not immediately possible, implement network-level protections to block requests with CRLFCRLF prefixes. Review server logs for signs of exploitation attempts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142097. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...