RCE via OOM corruption

Summary

CVECVE-2026-109618
StatePUBLISHED
Assignerphp
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-21 14:17:09 UTC
Updated2026-10-21 17:18:24 UTC
DescriptionPHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort handling of the request. Some contexts may not properly account for this scenario and leave request memory in an uninitialized state before performing an allocation. The subsequent request cleanup procedure may read or branch on this memory. Multiple OOM strategies can consistently trigger this condition and lead to remote code execution (RCE).

Risk And Classification

Primary CVSS: v4.0 9.2 CRITICAL from [email protected]

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/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

Problem Types: CWE-416 | CWE-755 | CWE-824 | CWE-1325 | CWE-416 CWE-416 Use after free | CWE-755 CWE-755 Improper Handling of Exceptional Conditions | CWE-824 CWE-824 Access of uninitialized pointer | CWE-1325 CWE-1325 Improperly controlled sequential memory allocation | CWE-1419 CWE-1419 Incorrect Initialization of Resource


VersionSourceTypeScoreSeverityVector
4.0[email protected]Secondary9.2CRITICALCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/C...
4.0CNACVSS9.2CRITICALCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
3.1[email protected]Primary9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Confidentiality
High
Integrity
High
Availability
High
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/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

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA PHP Group PHP affected 8.2.* 8.2.35 semver Not specified
CNA PHP Group PHP affected 8.3.* 8.3.36 semver Not specified
CNA PHP Group PHP affected 8.4.* 8.4.27 semver Not specified
CNA PHP Group PHP affected 8.5.* 8.5.12 semver Not specified

References

ReferenceSourceLinkTags
www.wiz.io/blog/php2shell-php-rce 134c704f-9b21-4f2e-91b3-4a467353bcc0 www.wiz.io Third Party Advisory
github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w [email protected] github.com Mitigation, Vendor Advisory
www.openwall.com/lists/oss-security/2026/10/21/6 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Ryan at Calif.io (en)

CNA: Wiz (en)

CNA: OpenAI (en)

CNA: Arnaud Le Blanc (en)

CNA: Ilija Tovilo (en)

CNA: Jakub Zelenka (en)

CNA: Nora Dossche (en)

Additional Advisory Data

Workarounds

CNA: Check the GitHub Security Advisory for mitigation strategies.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report