cve.bz

CVE-2026-7260 php php: Stack-based Buffer Overflow

5.4 mediumEPSS 0.1%

Medium (5.4) in php php. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

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

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 2nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-7260 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-7260?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-7260?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-7260 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
PHP Group PHPfrom 8.2.* before 8.2.33
PHP Group PHPfrom 8.3.* before 8.3.33
PHP Group PHPfrom 8.4.* before 8.4.24
PHP Group PHPfrom 8.5.* before 8.5.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11php7.47.4.33-1+deb11u12DLA-4733-1
Debian12php8.28.2.33-1~deb12u1DEBIAN-CVE-2026-7260 DLA-4732-1
Debian13php8.48.4.24-1~deb13u1DEBIAN-CVE-2026-7260 DSA-6406-1
Debian14php8.48.4.24-1DEBIAN-CVE-2026-7260
Ubuntu22.04:LTSphp8.18.1.2-1ubuntu2.26UBUNTU-CVE-2026-7260 USN-8743-1
Ubuntu24.04:LTSphp8.38.3.6-0ubuntu0.24.04.11UBUNTU-CVE-2026-7260 USN-8743-1
Ubuntu26.04:LTSphp8.58.5.4-0ubuntu1.3UBUNTU-CVE-2026-7260 USN-8743-1
UbuntuPro:14.04:LTSphp5no fix listedUBUNTU-CVE-2026-7260
UbuntuPro:16.04:LTSphp7.07.0.33-0ubuntu0.16.04.16+esm20UBUNTU-CVE-2026-7260 USN-8734-1
UbuntuPro:18.04:LTSphp7.2no fix listedUBUNTU-CVE-2026-7260
UbuntuPro:20.04:LTSphp7.4no fix listedUBUNTU-CVE-2026-7260
Red Hatenterprise_linux:8::appstreamapcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more0:5.1.18-1.module+el8.10.0+22485+a3539972RHSA-2026:62334
Red Hatenterprise_linux:8::appstreamapcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more0:5.1.23-1.module+el8.10.0+20770+a5eca186RHSA-2026:57574
Red Hatenterprise_linux:8::appstreamlibzip, libzip-devel, libzip-tools and 3 more0:1.6.1-1.module+el8.10.0+22485+a3539972RHSA-2026:62334
Red Hatenterprise_linux:8::appstreamlibzip, libzip-devel, libzip-tools and 3 more0:1.7.3-1.module+el8.10.0+20770+a5eca186RHSA-2026:57574
Red Hatenterprise_linux:8::appstreamphp, php-gd, php-cli and 51 more0:7.4.33-6.module+el8.10.0+24605+5caacdecRHSA-2026:62334
Red Hatenterprise_linux:8::appstreamphp, php-gd, php-cli and 47 more0:8.2.33-1.module+el8.10.0+24627+75f19366RHSA-2026:57574
Red Hatenterprise_linux:8::appstreamphp-pear1:1.10.13-1.module+el8.10.0+22485+a3539972RHSA-2026:62334
Red Hatenterprise_linux:8::appstreamphp-pear1:1.10.14-1.module+el8.10.0+20770+a5eca186RHSA-2026:57574
Red Hatenterprise_linux:8::appstreamphp-pecl-rrd, php-pecl-rrd-debuginfo, php-pecl-rrd-debugsource0:2.0.1-1.module+el8.10.0+22485+a3539972RHSA-2026:62334
Red Hatenterprise_linux:8::appstreamphp-pecl-rrd, php-pecl-rrd-debuginfo, php-pecl-rrd-debugsource0:2.0.3-1.module+el8.10.0+20770+a5eca186RHSA-2026:57574
Red Hatenterprise_linux:8::appstreamphp-pecl-xdebug, php-pecl-xdebug-debuginfo, php-pecl-xdebug-debugsource0:2.9.5-1.module+el8.10.0+22485+a3539972RHSA-2026:62334
Red Hatenterprise_linux:8::appstreamphp-pecl-xdebug3, php-pecl-xdebug3-debuginfo, php-pecl-xdebug3-debugsource0:3.2.2-2.module+el8.10.0+20798+00eaeb41RHSA-2026:57574
16 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morephp8, php8-fpm, php8-test and 3 more8.0.30-150400.4.73.1SUSE-SU-2026:3513-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 5 morephp7, php7-fpm, php7-fastcgi and 1 more7.4.33-150400.4.68.1SUSE-SU-2026:3510-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 5 morephp7, php7-fpm, php7-fastcgi and 1 more7.4.33-150400.4.73.1SUSE-SU-2026:4128-1
SUSELinux Enterprise Module for Legacy 15 SP7php7, apache2-mod_php77.4.33-150400.4.68.1SUSE-SU-2026:3510-1
SUSELinux Enterprise Module for Legacy 15 SP7php7, apache2-mod_php77.4.33-150400.4.73.1SUSE-SU-2026:4128-1
SUSELinux Enterprise Module for Package Hub 15 SP7php7, php7-fpm, php7-embed and 2 more7.4.33-150400.4.68.1SUSE-SU-2026:3510-1
SUSELinux Enterprise Module for Package Hub 15 SP7php7, php7-fpm, php7-test and 3 more7.4.33-150400.4.73.1SUSE-SU-2026:4128-1
SUSELinux Enterprise Module for Package Hub 15 SP7php7-test7.4.33-150400.4.68.2SUSE-SU-2026:3510-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7php8, php8-fpm, php8-test and 3 more8.3.33-150700.3.18.1SUSE-SU-2026:3509-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6php8, php8-fpm, php8-test and 3 more8.2.33-150600.3.33.1SUSE-SU-2026:3514-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0php8, php8-fpm, php8-embed and 2 more8.4.24-160000.1.1SUSE-SU-2026:23121-1 SUSE-SU-2026:23144-1
openSUSELeap 16.0php8, php8-fpm, php8-test and 3 more8.4.24-160000.1.1openSUSE-SU-2026:21532-1
openSUSETumbleweedphp88.5.9-1.1openSUSE-SU-2026:11418-1
AlmaLinux8apcu-panel, php-pecl-apcu, php-pecl-apcu-devel5.1.18-1.module_el8.6.0+2750+78feabcbALSA-2026:62334
AlmaLinux8apcu-panel, php-pecl-apcu, php-pecl-apcu-devel5.1.23-1.module_el8.10.0+3796+30ed3ef7ALSA-2026:57574
AlmaLinux8libzip, libzip-devel, libzip-tools1.6.1-1.module_el8.10.0+3935+28808425ALSA-2026:62334
AlmaLinux8libzip, libzip-devel, libzip-tools1.6.1-1.module_el8.6.0+3239+bedf0508ALSA-2026:62334
AlmaLinux8libzip, libzip-devel, libzip-tools1.7.3-1.module_el8.10.0+3796+30ed3ef7ALSA-2026:57574
AlmaLinux8libzip, libzip-tools1.6.1-1.module_el8.6.0+2750+78feabcbALSA-2026:62334
AlmaLinux8php, php-gd, php-cli and 24 more7.4.33-6.module_el8.10.0+4266+b824362aALSA-2026:62334
AlmaLinux8php, php-gd, php-cli and 22 more8.2.33-1.module_el8.10.0+4258+937e8b44ALSA-2026:57574
AlmaLinux8php-pear1:1.10.13-1.module_el8.10.0+3935+28808425ALSA-2026:62334
AlmaLinux8php-pear1:1.10.14-1.module_el8.10.0+3796+30ed3ef7ALSA-2026:57574
AlmaLinux8php-pecl-apcu, php-pecl-apcu-devel5.1.18-1.module_el8.10.0+3935+28808425ALSA-2026:62334
AlmaLinux8php-pecl-rrd2.0.1-1.module_el8.10.0+3935+28808425ALSA-2026:62334
30 more for AlmaLinux in the JSON.
Rocky Linux8libzip0:1.6.1-1.module+el8.10.0+1604+6558efc7RLSA-2026:62334
Rocky Linux8libzip0:1.6.1-1.module+el8.10.0+1912+72767185RLSA-2026:62334
Rocky Linux8libzip0:1.7.3-1.module+el8.10.0+1596+477f03f8RLSA-2026:57574
Rocky Linux8libzip0:1.7.3-1.module+el8.10.0+1605+02e07af7RLSA-2026:57574
Rocky Linux8libzip0:1.7.3-1.module+el8.10.0+1911+f499711eRLSA-2026:57574
Rocky Linux8php0:7.4.33-6.module+el8.10.0+40307+aa085b19RLSA-2026:62334
Rocky Linux8php-pear1:1.10.13-1.module+el8.10.0+1604+6558efc7RLSA-2026:62334
Rocky Linux8php-pear1:1.10.13-1.module+el8.10.0+1605+02e07af7RLSA-2026:62334
Rocky Linux8php-pear1:1.10.13-1.module+el8.10.0+1912+72767185RLSA-2026:62334
Rocky Linux8php-pear1:1.10.14-1.module+el8.10.0+1596+477f03f8RLSA-2026:57574
Rocky Linux8php-pear1:1.10.14-1.module+el8.10.0+1911+f499711eRLSA-2026:57574
Rocky Linux8php-pecl-apcu0:5.1.18-1.module+el8.10.0+1604+6558efc7RLSA-2026:62334
30 more for Rocky Linux in the JSON.
Alpinev3.22php828.2.33-r0ALPINE-CVE-2026-7260
Alpinev3.22, v3.23php838.3.36-r0ALPINE-CVE-2026-7260
Alpinev3.22, v3.23php848.4.27-r0ALPINE-CVE-2026-7260
Alpinev3.23php858.5.12-r0ALPINE-CVE-2026-7260
Alpinev3.24php838.3.33-r0ALPINE-CVE-2026-7260
Alpinev3.24php848.4.24-r0ALPINE-CVE-2026-7260
Alpinev3.24php858.5.9-r0ALPINE-CVE-2026-7260
Azure Linux3php8.3.33-1AZL-94181
Alpaquita25, streamphp838.3.33-r0BELL-CVE-2026-7260

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate impact flaw in PHP allows a local attacker to trigger a denial of service by providing a specially crafted phar archive containing circular symbolic links. Successful exploitation exhausts the C stack, leading to a PHP process crash, which can disrupt services utilizing PHP for archive processing.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10php-0:8.3.33-1.el10_2Fixed 2026-09-02RHSA-2026:62614
Red Hat Enterprise Linux 8php:8.2-8100020260806050858.f7998665Fixed 2026-08-20RHSA-2026:57574
Red Hat Enterprise Linux 8php:7.4-8100020260805070257.f7998665Fixed 2026-09-01RHSA-2026:62334
Red Hat Enterprise Linux 9php:8.3-9080020260806131732.9Fixed 2026-08-20RHSA-2026:57539
Red Hat Enterprise Linux 9php-0:8.0.30-8.el9_8Fixed 2026-08-31RHSA-2026:61259
Red Hat Enterprise Linux 9php:8.2-9080020260806120914.9Fixed 2026-09-01RHSA-2026:61903
Red Hat Hardened Imagesphp-main-8.5.9-1.hum1Fixed 2026-07-28RHSA-2026:47200
Red Hat Enterprise Linux 10php8.4Fix deferred
Red Hat Enterprise Linux 6phpFix deferred
Red Hat Enterprise Linux 7phpFix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9Fix deferred
Red Hat OpenShift Dev Spacesdevspaces/code-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-7260.

References

Check your stackJSON