Skip to main content

PHP 8.2 EUVDEUVD-2026-28966

| CVE-2026-6722 CRITICAL
Use After Free (CWE-416)
2026-05-07
9.5
CVSS 4.0 · Vendor
View

Attack ChainAIDerived

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

  1. Recon
    Send crafted HTTP request with malicious object data
  2. Delivery
    Trigger premature memory deallocation in PHP Zend Engine
  3. Exploit
    Exploit race condition or timing window
  4. Install
    Access freed memory region
  5. C2
    Corrupt execution flow or leak sensitive data
  6. Execute
    Execute arbitrary code as web server user
  7. Impact
    Establish persistence or pivot to internal systems

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

Network-accessible PHP 8.2.x application (versions 8.2.0 through 8.2.30) processing attacker-controllable input that triggers complex object lifecycle operations or memory management paths containing the use-after-free condition. The CVSS vector indicates high attack complexity (AC:H) and specific attack timing requirements during preparation phase (AT:P), suggesting exploitation requires precise conditions such as concurrent request processing, specific PHP extensions enabled, particular memory allocator states, or race condition windows that are environment-dependent. No authentication required (PR:N) and no user interaction needed (UI:N) means exploitation can be attempted purely through network requests against default PHP configurations. Limiting factors include the high technical skill required to develop working exploits given complexity barriers, and the fact that specific trigger conditions are not publicly documented in available advisories. The vulnerability affects PHP core rather than optional extensions, meaning all PHP 8.2.x deployments are potentially vulnerable regardless of enabled modules, though actual exploitability may vary based on application code patterns and request processing workflows.

Impact

Real-world risk assessment presents conflicting signals requiring careful interpretation. The CVSS v4.0 base score of 9.5 (Critical) reflects maximum impact across confidentiality, integrity, and availability for both vulnerable (VC:H/VI:H/VA:H) and subsequent systems (SC:H/SI:H/SA:H), indicating potential for lateral movement or cascading failures. However, attack complexity is high (AC:H) with specific timing requirements (AT:P), substantially limiting exploitation feasibility compared to simpler remote code execution vulnerabilities. The vendor's urgency rating (U:Red) and release coordinator emphasis (RE:M) indicate PHP maintainers assess this as requiring immediate patching despite complexity barriers. EPSS data not available for pre-NVD disclosure, but bundled security release addressing eight CVEs simultaneously suggests coordinated disclosure with likely researcher involvement. No CISA KEV listing and no public POC identified, indicating exploitation remains theoretical rather than observed in the wild. The authentication requirement (PR:N) and lack of user interaction (UI:N) means any network-accessible PHP application could be vulnerable if exploitation techniques become public. Primary risk factors: widespread PHP deployment, network exposure, no authentication barrier. Mitigating factors: high attack complexity, no public exploitation tools, patch immediately available. Organizations should prioritize based on PHP 8.2.x exposure to untrusted networks and ability to stage rapid upgrades, but this is not a 'drop everything' emergency unless PHP endpoints process attacker-controlled data with complex object manipulation.

Exploit ScenarioDerived

An attacker identifies a PHP 8.2.x web application that processes complex user-supplied data structures through file uploads, API endpoints accepting JSON/XML payloads, or form submissions with nested array parameters. The attacker crafts a malicious request containing specific object hierarchies or serialized data designed to trigger premature memory deallocation while references remain active in PHP's Zend Engine. By controlling subsequent requests or leveraging race conditions in concurrent request processing (suggested by AT:P timing requirements), the attacker causes PHP to access the freed memory region, potentially reading sensitive data from adjacent heap allocations (information disclosure per tags) or corrupting execution flow to achieve arbitrary code execution with web server privileges. No public POC exists at time of analysis, but the technical feasibility is confirmed by vendor patch release urgency.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.3% 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.x enables remote attackers to achieve high-impact exploitation through network-accessible attack vectors, despite high attack complexity and specific timing requirements. PHP 8.2.31 addresses this vulnerability along with seven other security issues in a coordinated security release. The CVSS v4.0 score of 9.5 reflects both confidentiality and integrity impact across vulnerable and subsequent systems, with high availability impact. No public exploit code or active exploitation confirmed at time of analysis, but the vendor urgency indicator (U:Red) and release coordinator emphasis (RE:M) signal critical priority for organizations running PHP 8.2.x in production environments.

RemediationAI

Upgrade immediately to PHP 8.2.31, available from https://www.php.net/downloads.php with Windows binaries at https://www.php.net/downloads.php?os=windows&version=8.2 per the official release announcement at https://github.com/php/php-src/releases/tag/php-8.2.31. For production environments requiring staged rollouts, test PHP 8.2.31 in non-production first as this bundled security release addresses eight CVEs with potential for behavioral changes. If immediate upgrade is not feasible, implement network segmentation to restrict PHP application access to trusted sources only, reducing attack surface for the network-based exploit vector. Deploy web application firewall (WAF) rules to detect and block requests with anomalous object manipulation patterns, though effectiveness is limited given the use-after-free trigger conditions are likely deep in PHP's internal processing rather than easily signature-detectable inputs. Monitor PHP error logs and system crash dumps for segmentation faults or memory corruption indicators that could signal exploitation attempts. Note that workarounds provide only partial risk reduction-the high CVSS score and vendor red urgency rating indicate patch deployment is the only complete remediation. Organizations running PHP 8.2.x should also review whether migration to actively supported PHP 8.3.x or 8.4.x branches is appropriate as part of longer-term maintenance strategy.

Affected VersionsENISA

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

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

This vulnerability is classified as CWE-416 (Use After Free), a memory safety issue where PHP attempts to access heap memory after it has been freed. Use-after-free vulnerabilities in PHP typically occur in the Zend Engine's memory management, object lifecycle handling, or extension-specific resource cleanup paths. The affected component runs in web server contexts (Apache mod_php, PHP-FPM, CGI) where memory corruption can be triggered through crafted HTTP requests processing user input. The CVSS v4.0 vector indicates network attack vector (AV:N) with high complexity (AC:H) and specific attack requirements during preparation (AT:P), suggesting the vulnerability requires precise timing or race condition exploitation. Tags indicate Microsoft platform relevance and information disclosure potential alongside memory corruption, suggesting the vulnerability may leak sensitive data from freed memory before or during exploitation. PHP 8.2.x uses reference counting and garbage collection that can create exploitable windows when objects are prematurely freed while still referenced.

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

Vendor (CNA) PRIMARY 9.5 CRITICAL
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/AU:Y/RE:M/U:Red
SUSE 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat 7.7 HIGH

Primary rating from Vendor (CNA).

CVSS VectorVendor

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

Lifecycle Timeline

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

Description PRE-NVD

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

Executive ViewAI

Why It Matters

PHP 8.2.x contains a critical use-after-free vulnerability (CVE-2026-6722, CVSS 9.5) that enables remote code execution with potential impact to confidentiality, integrity, and availability across web applications and dependent systems. Any organization running PHP 8.2.x in production faces significant risk to application availability and data security; immediate patching is required to eliminate this high-impact attack surface.

Business Impact: Severe
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, implement network-level access controls to restrict PHP application exposure to trusted networks only, and enable detailed PHP and application error logging to detect exploitation attempts; however, these measures do not eliminate the underlying vulnerability.

Threat Intelligence Overview

EPSS Score
0.3%
Top 47% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment NEWS 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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

68
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +48
PoC: +20
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