CVE-2026-142095 is a high-severity (CVSS 7.5) CWE-401 vulnerability in swoole swoole. A fix is available — see the affected versions and patch details below.
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…
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.
Affected Products
swooleswooleDetection & mitigation playbook
Vendor / applianceDetect
Inventory every swoole swoole deployment and check each version against the affected-products list above.
Fix
Apply the swoole swoole security patch or hotfix for CVE-2026-142095 on the affected version, following the vendor advisory for your exact build.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2026-142095 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.