Skip to main content

PHP CVE-2026-7261

| EUVDEUVD-2026-28970 MEDIUM
Use After Free (CWE-416)
2026-05-07
Medium
Disputed · 6.3 Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted network request
  2. Exploit
    Trigger use-after-free in PHP engine
  3. Execution
    Access freed memory region
  4. Impact
    Leak sensitive data or crash process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires network access to a PHP 8.2 application running a vulnerable version (prior to 8.2.31). The CVSS vector AT:P indicates attack timing prerequisites are needed-this means the vulnerability does not exploit on every request and likely requires transient system conditions, specific request ordering, or race conditions to manifest. No authentication is required (PR:N, UI:N). The vulnerability affects the PHP runtime itself rather than a specific extension or non-default configuration, meaning any standard PHP 8.2 installation is potentially vulnerable if exposed to network input. Limiting factors include the timing dependency (AT:P), which may make reliable remote exploitation difficult in practice, and the limited scope change (S:P with VC:L/VI:L/VA:L impacts), meaning impact is confined to the PHP process or its immediate context rather than the underlying system.

Impact

CVSS 6.3 reflects moderate severity with network attack vector and low complexity, but the presence of attack timing requirements (AT:P) and limited scope changes reduce immediate practical risk. EPSS data is not provided, limiting exploitation probability assessment beyond CVSS signals. No KEV (CISA Known Exploited Vulnerabilities) listing is referenced, and no public exploit code availability is mentioned, suggesting this is a patched vulnerability with no confirmed active exploitation at disclosure. The combination of memory corruption (use-after-free) with information disclosure capability and partial scope change warrants prompt patching, especially in internet-facing PHP deployments; however, the presence of timing prerequisites (AT:P) suggests exploitation may require specific request sequences or race conditions rather than trivial triggering. Real-world risk is moderate: the vulnerability requires network access and low complexity but may not exploit reliably across all deployment scenarios due to timing sensitivity.

Exploit ScenarioDerived

An attacker sends a specially crafted HTTP request to a PHP 8.2 web application, triggering a use-after-free condition in the PHP engine's memory management. Due to the timing-dependent nature (AT:P), the attacker may need to send multiple requests or exploit a race condition to reliably trigger the freed memory access. Upon successful exploitation, the attacker reads sensitive information from freed memory regions (information disclosure) or causes the PHP process to crash (denial of service).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 10, 2026

Use-after-free memory corruption in PHP 8.2 prior to version 8.2.31 allows remote attackers to cause information disclosure or denial of service via network requests with low attack complexity. The vulnerability is addressed in PHP 8.2.31, released as a security update bundling fixes for eight CVEs including CVE-2026-7261. Patch availability is confirmed from the PHP development team.

RemediationAI

Vendor-released patch: PHP 8.2.31. Upgrade all PHP 8.2 installations to version 8.2.31 or later immediately. Download patched binaries and source code from https://www.php.net/downloads.php. For production environments, test the upgrade in a staging environment first due to potential extension compatibility issues with new PHP minor versions. If immediate upgrade is not possible, apply network-level mitigations: restrict direct exposure of PHP applications to untrusted networks, implement Web Application Firewall (WAF) rules to filter suspicious request patterns, and monitor for unexpected process crashes or memory-related errors in PHP error logs as indicators of exploitation attempts. Consult https://github.com/php/php-src/security/advisories/GHSA-m33r-qmcv-p97q for additional context on this and related CVEs fixed in 8.2.31.

Affected VersionsENISA

PHP 8.4.* <8.4.21
PHP 8.5.* <8.5.6
PHP 8.2.* <8.2.31
PHP 8.3.* <8.3.31

Affected Packages

euvd php_8_2 fix: 8.2.31
euvd php_8_3 fix: 8.3.31
euvd php_8_4 fix: 8.4.21
euvd php_8_5 fix: 8.5.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CVE-2026-7261 is classified as a use-after-free vulnerability (CWE-416), a memory safety issue where freed memory is referenced after deallocation. This class of defect is common in PHP's C-based engine and can manifest in various subsystems including the Zend virtual machine, extension libraries, or memory management layers. The CVSS 4.0 vector (AV:N/AC:L/AT:P) indicates network-accessible exploitation with low attack complexity but time-dependent conditions (AT:P suggests temporal or transient prerequisites). The scope is partially changed (S:P) and impact is limited (VC:L/VI:L/VA:L at scope level, SC:L/SI:L/SA:L at changed scope), consistent with information disclosure or controlled DoS rather than full system compromise.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Medium–Critical)
Vendor (CNA) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/S:P/AU:Y/RE:M/U:Amber
SUSE 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat 5.6 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

Lifecycle Timeline

3
CVSS changed
May 10, 2026 - 05:22 NVD
6.3 (MEDIUM)
CVE Published
May 07, 2026 - 17:18 nvd
UNKNOWN (no severity yet)
CVE Published
May 07, 2026 - 17:18 nvd
MEDIUM 6.3

Description PRE-NVD

Disclosed via GitHub release of php/php-src. NVD scoring and full description are pending.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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: Critical
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Module for Web and Scripting 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected

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