CVE-2026-7260
php: PHP: Denial of Service via circular symbolic links in phar archives
| Publication Date | 2026-07-30 |
|---|---|
| Severity | Moderate |
| Type | Denial of Service |
| Affected PHP Versions |
|
| Fixed Product Versions |
|
CVE Details
Circular symbolic links in PHP Archive (PHAR) files could lead to an uncontrolled loop, exhausting the program's memory stack and crashing the PHP application in affected PHP versions. This vulnerability could allow an attacker to trigger a Denial of Service (DoS) condition, making the affected PHP service unavailable.
Recommendations
To mitigate this issue, avoid processing PHAR archives from untrusted sources. If the phar extension is not essential for your application, consider disabling it in the PHP configuration. Disabling the phar extension may impact applications that rely on it for legitimate archive handling.
If you rely on PHAR usage, you should consider upgrading to a version that patches the flaw.