Process crash via unbounded phar symlink recursion
Published Jul 30, 2026 · Updated Jul 30, 2026
Uncontrolled recursion in PHP ext-phar allows attackers to crash a PHP process by supplying a crafted tar-based phar archive. The phar_get_link_source() function in ext/phar/util.c follows archive symlinks recursively without a depth limit or cycle detection. Processing a circular symlink entry is required; the recursion exhausts the C stack and interrupts only the affected PHP process.
Summary
What happened
Uncontrolled recursion in PHP ext-phar allows attackers to crash a PHP process by supplying a crafted tar-based phar archive. The phar_get_link_source() function in ext/phar/util.c follows archive symlinks recursively without a depth limit or cycle detection. Processing a circular symlink entry is required; the recursion exhausts the C stack and interrupts only the affected PHP process.
The record
- CVE
- CVE-2026-7260
- Published
- Jul 30, 2026
- Updated
- Jul 30, 2026
- Vendor
- The PHP Group
- Product
- PHP
- Classifications
- CWE-674, CWE-121, CWE-400, CAPEC-469, T1499
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 30, 2026CVE publishedPublication date reported by the CVE source.
- Jul 30, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=8.2.* <8.2.33
- Affected versionversion=8.3.* <8.3.33
- Affected versionversion=8.4.* <8.4.24
- Affected versionversion=8.5.* <8.5.9
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream circular-symlink phar reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo