Descrizione
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).
Come correggere
Priorità: Urgente — intervenire subito, entro 24-48 ore. Motivazione: sfruttata attivamente (catalogo CISA KEV), CVSS 9.8.
Versioni da aggiornare
- Php Php: vulnerabili le versioni dalla
7.3.0precedenti alla8.2.35→ aggiornare alla8.2.35o successiva. - Php Php: vulnerabili le versioni dalla
8.3.0precedenti alla8.3.36→ aggiornare alla8.3.36o successiva. - Php Php: vulnerabili le versioni dalla
8.4.0precedenti alla8.4.27→ aggiornare alla8.4.27o successiva. - Php Php: vulnerabili le versioni dalla
8.5.0precedenti alla8.5.12→ aggiornare alla8.5.12o successiva. - Paloaltonetworks Pan-Os: vulnerabili le versioni dalla
10.2.0precedenti alla10.2.7→ aggiornare alla10.2.7o successiva. - Siemens Ruggedcom Ape1808 Firmware: versioni non specificate → verificare l'advisory del vendor.
- Paloaltonetworks Pan-Os: vulnerabile la versione
10.2.7→ installare l'ultima release supportata dal vendor. - Paloaltonetworks Pan-Os: vulnerabile la versione
10.2.7 h1→ installare l'ultima release supportata dal vendor. - Paloaltonetworks Pan-Os: vulnerabile la versione
10.2.7 h10→ installare l'ultima release supportata dal vendor. - Paloaltonetworks Pan-Os: vulnerabile la versione
10.2.7 h11→ installare l'ultima release supportata dal vendor. - Paloaltonetworks Pan-Os: vulnerabile la versione
10.2.7 h12→ installare l'ultima release supportata dal vendor. - Paloaltonetworks Pan-Os: vulnerabile la versione
10.2.7 h13→ installare l'ultima release supportata dal vendor. - Paloaltonetworks Pan-Os: vulnerabile la versione
10.2.7 h14→ installare l'ultima release supportata dal vendor. - Paloaltonetworks Pan-Os: vulnerabile la versione
10.2.7 h15→ installare l'ultima release supportata dal vendor. - Paloaltonetworks Pan-Os: vulnerabile la versione
10.2.7 h16→ installare l'ultima release supportata dal vendor. - …e altre 45 configurazioni (vedi riferimenti).
Azione richiesta da CISA (KEV)
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Scadenza fissata per le agenzie federali USA: 2026-10-29. È un buon riferimento anche per le organizzazioni private.
Patch e advisory
- Mitigazione: github.com/php/php-src/security/advisories/GHSA…
- Advisory di terze parti: www.openwall.com/lists/oss-security/2026/10/21/6
- Advisory di terze parti: www.openwall.com/lists/oss-security/2026/10/23/5
- Advisory di terze parti: github.com/rapid7/metasploit-framework/pull/22139
- Advisory di terze parti: arcticwolf.com/resources/blog/php2shell-critical-ph…
- Advisory di terze parti: cert-portal.siemens.com/productcert/html/ssa-166980.html
- Advisory di terze parti: cert-portal.siemens.com/productcert/html/ssa-566435.html
- Advisory di terze parti: cert-portal.siemens.com/productcert/html/ssa-566512.html
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre la superficie esposta (disattivare servizi e funzionalità inutilizzati), mantenere attive le protezioni del sistema operativo (ASLR, DEP/NX) e segmentare la rete.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
- Poiché la vulnerabilità è sfruttata attivamente, cercare indicatori di compromissione nei log precedenti alla patch.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Php | Php | ≥ 7.3.0 < 8.2.35 | 8.2.35 |
| Php | Php | ≥ 8.3.0 < 8.3.36 | 8.3.36 |
| Php | Php | ≥ 8.4.0 < 8.4.27 | 8.4.27 |
| Php | Php | ≥ 8.5.0 < 8.5.12 | 8.5.12 |
| Paloaltonetworks | Pan-Os | ≥ 10.2.0 < 10.2.7 | 10.2.7 |
| Siemens | Ruggedcom Ape1808 Firmware | — | — |
| Paloaltonetworks | Pan-Os | 10.2.7 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h1 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h10 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h11 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h12 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h13 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h14 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h15 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h16 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h17 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h18 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h19 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h2 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h20 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h21 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h22 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h23 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h24 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h3 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h32 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h34 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h35 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h36 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h37 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h38 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h4 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h5 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h6 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h7 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h8 | — |
| Paloaltonetworks | Pan-Os | 10.2.7 h9 | — |
| Paloaltonetworks | Pan-Os | 10.2.8 | — |
| Paloaltonetworks | Pan-Os | 10.2.9 | — |
| Paloaltonetworks | Pan-Os | 10.2.10 | — |
Riferimenti
- Mitigazionehttps://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w
- Advisory di terze partihttp://www.openwall.com/lists/oss-security/2026/10/21/6
- Advisory di terze partihttp://www.openwall.com/lists/oss-security/2026/10/23/5
- Advisory di terze partihttps://github.com/rapid7/metasploit-framework/pull/22139
- Advisory di terze partihttps://arcticwolf.com/resources/blog/php2shell-critical-php-vulnerabilities-enable-unauthenticated-remote-code-execution/
- Advisory di terze partihttps://cert-portal.siemens.com/productcert/html/ssa-166980.html
- Advisory di terze partihttps://cert-portal.siemens.com/productcert/html/ssa-566435.html
- Advisory di terze partihttps://cert-portal.siemens.com/productcert/html/ssa-566512.html
- Advisory di terze partihttps://php2shell.delftintellab.com
- Advisory di terze partihttps://www.wiz.io/blog/php2shell-php-rce
- Riferimentohttp://seclists.org/fulldisclosure/2026/Oct/51
- Riferimentohttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-109618