PHP ext-phar Symlink Recursion (<=v8.2.33/8.3.33/8.4.24/8.5.9)
CVE-2026-7260 Published on July 30, 2026
Stack overflow in phar with circular symlinks
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.
Weakness Type
What is a Stack Overflow Vulnerability?
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
CVE-2026-7260 has been classified to as a Stack Overflow vulnerability or weakness.
Products Associated with CVE-2026-7260
Want to know whenever a new CVE is published for PHP? stack.watch will email you.
Affected Versions
PHP Group PHP:- Version 8.2.* and below 8.2.33 is affected.
- Version 8.3.* and below 8.3.33 is affected.
- Version 8.4.* and below 8.4.24 is affected.
- Version 8.5.* and below 8.5.9 is affected.