# CVE-2026-109618: RCE via OOM corruption

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.2
- **CVSS:** 9.2 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Yes: in CISA KEV since 2026-10-26; federal due date 2026-10-29
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 45.08% (percentile 99, 2026-11-28)
- **CWE:** CWE-416, CWE-755, CWE-824, CWE-1325, CWE-1419
- **Aliases:** EDB-52704
- **Published:** 2026-10-21T13:48:34.845Z
- **Modified:** 2026-11-24T14:27:42.290Z

## Who should check

- Anyone running PHP Group PHP \>= 8.2.\*, \< 8.2.35; \>= 8.3.\*, \< 8.3.36; \>= 8.4.\*, \< 8.4.27; \>= 8.5.\*, \< 8.5.12

## 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).

## Affected and fixed versions

- PHP Group PHP: \>= 8.2.\*, \< 8.2.35; \>= 8.3.\*, \< 8.3.36; \>= 8.4.\*, \< 8.4.27; \>= 8.5.\*, \< 8.5.12 (cvelist)

## Mitigation

- Upgrade PHP to 8.5.12 or later.
- Vendor workaround: Check the GitHub Security Advisory for mitigation strategies.

## Timeline

- 2026-10-21: Published
- 2026-10-26: Added to CISA KEV (exploited in the wild)
- 2026-10-29: CISA remediation due date for US federal agencies
- 2026-11-24: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-109618. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-109618.md
Affected: PHP Group PHP >= 8.2.*, < 8.2.35; >= 8.3.*, < 8.3.36; >= 8.4.*, < 8.4.27; >= 8.5.*, < 8.5.12
Fixed in: PHP Group PHP 8.2.35, PHP Group PHP 8.3.36, PHP Group PHP 8.4.27, PHP Group PHP 8.5.12

Steps:
1. Search this machine and project for PHP Group PHP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-109618 being exploited?

Yes. CISA lists CVE-2026-109618 in its Known Exploited Vulnerabilities catalog since 2026-10-26, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 45.08% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-109618?

Critical: CVSS 9.2 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-109618?

PHP Group PHP \>= 8.2.\*, \< 8.2.35; \>= 8.3.\*, \< 8.3.36; \>= 8.4.\*, \< 8.4.27; \>= 8.5.\*, \< 8.5.12.

### Is there a fix for CVE-2026-109618?

Yes. Fixed in PHP Group PHP 8.2.35, PHP Group PHP 8.3.36, PHP Group PHP 8.4.27, PHP Group PHP 8.5.12. Upgrade PHP to 8.5.12 or later. Vendor workaround: Check the GitHub Security Advisory for mitigation strategies.

### How do I check if I'm affected by CVE-2026-109618?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w>
- patch: <https://github.com/rapid7/metasploit-framework/pull/22139>
- exploit: <https://www.exploit-db.com/exploits/52704>
- other: <https://www.wiz.io/blog/php2shell-php-rce>
- other: <https://arcticwolf.com/resources/blog/php2shell-critical-php-vulnerabilities-enable-unauthenticated-remote-code-execution/>
- other: <https://php2shell.delftintellab.com/>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-109618>
- other: <http://www.openwall.com/lists/oss-security/2026/10/21/6>
- other: <http://www.openwall.com/lists/oss-security/2026/10/23/5>
- other: <http://seclists.org/fulldisclosure/2026/Oct/51>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-566512.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-566435.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-166980.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-862892.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-109618>
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/52704>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2026-109618> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-109618>
