CVE-2026-7260

Stack overflow in phar with circular symlinks

State
Published
Severity
5.4 Medium
Published
Jul 30, 2026
Updated
Jul 30, 2026
Reserved
Apr 28, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.4 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:Uphp

Weaknesses

  • CWE-121 Stack-based buffer overflow

Affected Products

ProductVersions
PHPPHP Group
  • 8.2.* to before 8.2.33Affected
  • 8.3.* to before 8.3.33Affected
  • 8.4.* to before 8.4.24Affected
  • 8.5.* to before 8.5.9Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.