CVE-2026-109618 — libphp
Fix: rapid7/metasploit-framework#22139CVE-2026-109618 is a Use After Free vulnerability in libphp. It is in CISA's Known Exploited Vulnerabilities catalog (added 2026-10-26) — treat it as actively exploited and patch now. A fix is available for libphp — see the affected versions and patch details below.
RCE via OOM corruption
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2026-10-26. Federal agencies were required to remediate by 2026-10-29.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2026-109618.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
libphpReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Bitnami packages — download data is not available via public APIs for these ecosystems.
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦Bitnami | libphp | ≥ 7.3.0&&< 8.2.35 | 8.2.35 |
Affected Products
pan-ospaloaltonetworkspanorama virtual appliancepaloaltonetworksphpphpamis tssiemensblueplanet 360 nx3 m6 wm od iisx firmwaresiemensblueplanet 360 nx3 m6 wm od iisx-s firmwaresiemensResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
PHP > 5.4 - 'PHP2Shell' Remote Code Execution (RCE)
by OffSec · Oct 22, 2026
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for libphp, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update libphp to 8.2.35 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-109618 is resolved across your whole dependency graph.
Workarounds
Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable.
How to detect CVE-2026-109618
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2026-109618 -u https://target- Template
- PHP2Shell (CVE-2026-109618/CVE-2026-109619) - Active Crash Detection
- Severity
- critical
- Impact
- Affected PHP installations may allow an unauthenticated attacker to corrupt process memory, disclose sensitive worker memory, or achieve remote code execution as the web worker account.
- Remediation
- Upgrade to PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12, or later. PHP 8.1 and older are end-of-life upstream; upgrade to a supported branch or apply vendor backports for both CVE-2026-109618 and CVE-2026-109619.
Template by ProjectDiscovery nuclei-templates (lcfr_hax, assetnote, princechaddha), MIT licensed. View the full template. Scan only systems you are authorised to test.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Rated Important. An unauthenticated remote attacker could corrupt engine memory and potentially execute arbitrary code, but reliable exploitation requires precise heap manipulation and timing. Standard Red Hat Enterprise Linux deployments use PHP-FPM rather than mod_php. PHP-FPM workers exit on early initialization…
See the security bulletin for a detailed mitigation procedure.Source: Red Hat security advisory for CVE-2026-109618 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Enterprise Linux 10 | php-0:8.3.36-1.el10_2 | RHSA-2026:87070 |
| Red Hat Enterprise Linux 10 | php8.4-0:8.4.27-1.el10_2 | RHSA-2026:87071 |
| Red Hat Enterprise Linux 10 | php8.4-0:8.4.27-2.el10_3.1 | RHSA-2026:98609 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | php-0:8.3.19-1.el10_0.2 | RHSA-2026:88561 |
| Red Hat Enterprise Linux 8 | php:8.2-8100020261020140951.f7998665 | RHSA-2026:87073 |
| Red Hat Enterprise Linux 8 | php:7.4-8100020261021081045.f7998665 | RHSA-2026:87080 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | php:7.4-8040020261022145802.d7c09045 | RHSA-2026:88565 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | php:7.4-8060020261022162503.5caa48ff | RHSA-2026:88533 |
Frequently Asked Questions
Is CVE-2026-109618 in your dependencies?
Find it across Bitnami, including transitive dependencies.