Skip to main content

PHP CVE-2026-7260

| EUVDEUVD-2026-51092 MEDIUM
Stack-based Buffer Overflow (CWE-121)
2026-07-30 php
5.4
CVSS 4.0 · Vendor: php
Share

Severity by source

Vendor (php) PRIMARY
5.4 MEDIUM
CVSS: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:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
6.3 MEDIUM

AV:L because phar must reach local filesystem; UI:R since PHP must actively parse it; S:C because SA:H in source vector signals cascade to dependent web server.

3.1 AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
SUSE
5.5 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Red Hat
5.5 MEDIUM
qualitative

Primary rating from Vendor (php).

CVSS VectorVendor: php

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
A
Scope
X

Lifecycle Timeline

3
Patch available
Jul 30, 2026 - 12:03 EUVD
Analysis Generated
Jul 30, 2026 - 11:51 vuln.today
CVE Published
Jul 30, 2026 - 11:22 cve.org
MEDIUM 5.4

DescriptionCVE.org

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.

AnalysisAI

Stack exhaustion in PHP's phar archive handler allows an attacker to crash the PHP process by supplying a crafted archive containing circular symbolic links, triggering unbounded recursion that depletes the native C stack. Affected versions span PHP 8.2.x before 8.2.33, 8.3.x before 8.3.33, 8.4.x before 8.4.24, and 8.5.x before 8.5.9 across all platforms. Exploitation requires a PHP process to actively parse the malicious archive (UI:A/AV:L); no public exploit has been identified and exploitation likelihood is rated unlikely (E:U in the provided CVSS 4.0 vector), making this a moderate-priority patch for most deployments - with heightened urgency for applications that process user-supplied phar archives.

Technical ContextAI

PHP's phar (PHP Archive) extension packages PHP code and assets into a single portable file, analogous to Java JARs. The vulnerability is located in phar symlink resolution logic: when an archive contains symbolic links that form a cycle (link_a points to link_b, link_b points back to link_a), PHP's traversal routine recurses without a depth limit or cycle-detection guard. CWE-121 (Stack-based Buffer Overflow) classifies this as a stack consumption fault - each recursive call pushes a frame onto the native C stack until the operating system terminates the thread on stack overflow, crashing the PHP worker process. The affected CPE is cpe:2.3:a:php_group:php:*:*:*:*:*:*:*:* across the 8.2, 8.3, 8.4, and 8.5 release trains. The CVSS 4.0 subsequent-system availability metric (SA:H) reflects that a crashed PHP worker can propagate unavailability to a dependent web server or application container.

RemediationAI

Upgrade to the patched releases - PHP 8.2.33, 8.3.33, 8.4.24, or 8.5.9 - as documented in the vendor advisory at https://github.com/php/php-src/security/advisories/GHSA-vc5h-9ppw-p5f3. If an immediate upgrade is not possible, the most targeted compensating control is to prevent untrusted phar archives from reaching the PHP parser: remove or disable the phar extension entirely (note: this may break Composer and other phar-packaged tooling, so test in staging first), or implement file-type validation at the application boundary to reject uploads whose content matches phar magic bytes (PK\x03\x04 or the phar stub header) before any PHP processing occurs. Restricting the phar.readonly INI directive limits phar creation but does not prevent parsing of a crafted archive, so it is not an effective mitigation on its own. Applications that accept no user-controlled file paths or uploads do not require compensating controls beyond scheduling the patch.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected

Share

CVE-2026-7260 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy