Description
PHP 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).
Severity (CVSS)
| Base score | 9.2 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- 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
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 8.2.* to <8.2.35 [affected]; 8.3.* to <8.3.36 [affected]; 8.4.* to <8.4.27 [affected]; 8.5.* to <8.5.12 [affected] |
References
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 22 Oct 2026 07:04 UTC.