CVE-2026-7260 Details
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.
A vulnerability exists in the PHP extension 'ext-phar' in versions 8.2.* prior to 8.2.33, 8.3.* prior to 8.3.33, 8.4.* prior to 8.4.24, and 8.5.* prior to 8.5.9. The issue arises because 'phar_get_link_source()' recursively follows symbolic links in phar archives without any depth limit or cycle detection. This flaw can be exploited by a crafted tar-based phar archive containing circular symlinks, causing unbounded recursion that exhausts the C stack and crashes the PHP process.
Users can upgrade to PHP versions 8.2.33, 8.3.33, 8.4.24, or 8.5.9 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/php/php-src/security/advisories/GHSA-vc5h-9ppw-p5f3 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| php php | >= 8.2.0, < 8.2.33 >= 8.3.0, < 8.3.33 >= 8.4.0, < 8.4.24 >= 8.5.0, < 8.5.9 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 5, 2026 | Initial Analysis | [email protected] |
| Jul 30, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | New CVE Received | [email protected] |