CVE-2026-142095
Received Received - Intake

Memory Leak in Swoole HTTP/2 Header Processing

Vulnerability report for CVE-2026-142095, 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 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 repeating :path via HPACK dynamic-table references to leak megabytes per request and terminate server workers.

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-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a memory leak in the Swoole library's HTTP/2 implementation. When an attacker sends HTTP/2 requests with repeated :path pseudo-header values, the server copies each new value without freeing the previous one. This causes memory to accumulate with each request, potentially leaking megabytes of memory per request and eventually terminating server workers.

Detection Guidance

To detect this vulnerability, check the Swoole version running on your system. If it is before 6.1.14 or 6.2.x before 6.2.7, it is vulnerable. Use commands like 'php --ri swoole' or 'pecl list | grep swoole' to check the installed version.

Impact Analysis

The memory leak can degrade server performance by consuming excessive memory, leading to crashes or denial-of-service conditions. Attackers can exploit this to terminate server workers, disrupting services and causing downtime for applications relying on Swoole.

Mitigation Strategies

Upgrade Swoole to version 6.1.14 or 6.2.7 or later immediately. If upgrading is not possible, disable HTTP/2 support in your Swoole configuration to prevent exploitation of this memory leak.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142095. 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...