Read the docs

Memory leak in Swoole HTTP/2 header handling via repeated :path

Priority MEDIUM 53CWE-401Published · Updated

Key facts

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

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-401.

Summary

Swoole before 6.1.14 and from 6.2.0 before 6.2.7 leaks memory in its HTTP/2 header callback, which copies each repeated :path pseudo-header without freeing the earlier value (CWE-401). A remote unauthenticated attacker can send HEADERS frames that repeat :path, leaking megabytes per request and terminating server workers.

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 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.

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-102182 Out-of-bounds read in Swoole coroutine HTTP server leaks memoryPriority MEDIUM 53
    • TI-2026-102181 Swoole before 6.1.14 and 6.2.x before 6.2.7 Redis Server Out-of-Bounds ReadPriority MEDIUM 53

Timeline

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

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