What’s Vulnerable › Vulnerabilities
CVE-2026-7260: Stack overflow in phar with circular symlinks
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-30 · updated 2026-10-23
- Weakness: CWE-121
Description
Circular symbolic links in phar archives could lead to unbounded recursion, exhausting the C stack and crashing the PHP process, in PHP versions from 8.2.* before 8.2.33, from 8.3.* before 8.3.33, from 8.4.* before 8.4.24, and from 8.5.* before 8.5.9.
Affected products
- PHP: from 8.2.0 before 8.2.33; from 8.3.0 before 8.3.33; from 8.4.0 before 8.4.24; from 8.5.0 before 8.5.9 — fixed in 8.2.33, 8.3.33, 8.4.24, 8.5.9
How to fix
Upgrade to a fixed version: PHP 8.2.33, 8.3.33, 8.4.24, 8.5.9. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-7260 or the next vulnerability affects your stack