December 3, 2026
You Canβt Patch What You Canβt Find
PHP2Shell, Java4Shell & NGINX2Shell: Three Vulnerabilities, One Race Against Time
By Usha
5 min read
PHP2Shell, Java4Shell & NGINX2Shell: Three Vulnerabilities, One Race Against Time
PHP runs websites and web applications. Java powers enterprise services. NGINX handles web traffic. In October and November 2026, critical security vulnerabilities affecting these technologies put organisations under pressure to identify exposed systems and apply security updates.
Known as PHP2Shell, Java4Shell and NGINX2Shell, these vulnerabilities affect different layers of the software stack. But they highlight the same challenge: knowing which components you use, where they are running and whether they are vulnerable.
Here's what each vulnerability means and what organisations should do.
1. PHP2Shell: Exploitation confirmed
CVE-2026β109618 and CVE-2026β109619
PHP2Shell refers to two critical vulnerabilities in PHP that can allow unauthenticated attackers to execute code remotely.
The vulnerabilities involve different memory-handling issues:
- CVE-2026β109618: Improper handling of out-of-memory conditions can interrupt PHP request processing while internal request data is only partially initialised. During subsequent cleanup, PHP may access this uninitialised data, resulting in memory corruption and potentially enabling remote code execution.
- CVE-2026β109619: PHP's internal global state can retain references to memory that has already been freed.
Under the right conditions, specially crafted requests can trigger these flaws and lead to remote code execution.
Who's affected: PHP versions 8.5 prior to 8.5.12, 8.4 prior to 8.4.27, 8.3 prior to 8.3.36 and 8.2 prior to 8.2.35 are affected. PHP 8.1 and older versions are also affected, including end-of-life releases. All PHP installations serving web requests are potentially at risk, including PHP-FPM, Apache with mod_php, PHP-CGI and other deployment models. Third-party products, appliances and containers that bundle vulnerable PHP runtimes may also be affected.
Exploitation status: Both vulnerabilities have been added to CISA's Known Exploited Vulnerabilities (KEV) catalog. Security researchers have demonstrated successful remote code execution for both flaws. This confirms exploitation evidence, although it does not mean every vulnerable installation has been attacked.
What to do:
- Inventory PHP installations across servers, applications, containers and third-party products.
- Upgrade to fixed releases: PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35, as appropriate.
- For end-of-life PHP versions, check whether your vendor provides a back ported security fix or migrate to a supported release.
- Investigate potentially compromised systems, including those patched after exposure.
2. Java4Shell: A vulnerability inside the Java runtime
CVE-2026β114938
Java4Shell is a memory-corruption vulnerability in an optimised Base64 decoding routine in OpenJDK.
The affected routine uses hardware acceleration through AVX-512 VBMI instructions on compatible x86β64 processors. These instructions are available on certain modern microarchitectures, including Intel Ice Lake and newer processors and AMD Zen 4 and newer processors, where the relevant instruction-set support is present. Malformed Base64 input can trigger an out-of-bounds memory write, potentially resulting in a crash, memory corruption or, under specific conditions, remote code execution.
The issue exists in the Java runtime itself, rather than in application-specific code. Applications that process attacker-controlled Base64 input may therefore be exposed even if their own code has no obvious vulnerability.
Who's affected: The vulnerability affects OpenJDK 17.0.6 and later releases in the Java 17 line, as well as affected builds in the Java 21, 25 and 27 release lines.
Exploitation requires specific conditions:
- The JVM runs on a compatible x86β64 processor supporting AVX-512 VBMI instructions.
- The affected Base64 decoding routine is used.
- Attacker-controlled Base64 input reaches that routine.
Standard OpenJDK 8 and 11 builds are not affected. However, vendor-specific builds should be checked against their own advisories; CERT-EU, for example, identifies an affected Oracle Java SE 8 performance build.
Exploitation status: A public proof of concept exists, and security researchers have reported exploitation attempts. As of 2 December 2026, Sophos reports no confirmed successful exploitation.
What to do:
- Inventory Java runtimes across applications, containers and servers, including bundled runtimes.
- Check runtime versions, vendor builds and the processor architecture.
- Upgrade to a fixed release provided by your Java vendor.
- Prioritise services that process untrusted Base64 input, particularly internet-facing services.
3. NGINX2Shell: Vulnerabilities in HTTP/2 processing
CVE-2026β123007 and CVE-2026β123633
NGINX2Shell refers to two vulnerabilities affecting NGINX's HTTP/2 processing.
- CVE-2026β123007: An integer-underflow issue can cause a heap buffer overflow when NGINX processes certain HTTP/2 traffic.
- CVE-2026β123633: A use-after-free vulnerability can occur when NGINX handles specially crafted HTTP/2 requests while proxying requests to a backend and the worker process is running low on worker_connections.
Depending on the circumstances, these flaws can cause denial of service or memory corruption. Remote code execution may be possible if Address Space Layout Randomisation (ASLR) is disabled or can be bypassed.
Who's affected: The vulnerabilities affect the following versions of NGINX Open Source and NGINX Plus, provided HTTP/2 is enabled:
- NGINX Open Source: Versions 1.9.5 to 1.30.6 and 1.31.0 to 1.31.8 are affected by CVE-2026β123007. CVE-2026β123633 affects versions 1.19.7 to 1.30.6 and 1.31.0 to 1.31.8.
- NGINX Plus: Affected releases include versions 37.0.0 to 37.0.7.1, 37.1.0 to 37.2.0.1, and releases R34 to R36. The exact affected range differs between the two CVEs.
Third-party products and appliances bundling affected NGINX versions may also be vulnerable.
Exploitation status: A public proof of concept is available. On 26 November 2026, Singapore's Cyber Security Agency reported active exploitation of CVE-2026β123007. F5's advisory acknowledges emerging exploitation reports but states that it has not independently verified successful exploitation. Organisations should treat the issue as urgent while recognising the distinction between reported activity and independently confirmed exploitation.
What to do:
- Identify NGINX deployments across servers, containers and reverse proxies.
- Check affected versions and whether HTTP/2 is enabled.
- Review whether the backend-proxying and worker-connection conditions relevant to CVE-2026β123633 apply.
- Upgrade to the fixed releases specified in F5's security advisories.
- If an immediate upgrade is not possible, evaluate vendor-recommended mitigations, including temporarily disabling HTTP/2 where appropriate.
4. The common problem: You can't patch what you can't find
Consider a typical environment: a PHP application running in a container, a Java service using OpenJDK and an NGINX reverse proxy handling incoming traffic.
When multiple security advisories are published, security teams need to answer three questions:
- Where are these components running?
- Which versions are affected?
- Which systems should be prioritised for remediation?
Without an accurate software inventory, answering these questions can mean searching through spreadsheets, container images, deployment records and vendor documentation.
The longer it takes to identify affected components, the longer vulnerable systems may remain exposed.
5. How Gauntlet helps improve software visibility
A Software Bill of Materials (SBOM) provides an inventory of software components and dependencies included in an application or software build.
Gauntlet's SBOM scanning helps security teams use this visibility to identify and prioritise vulnerable third-party and open-source components.
- Identify vulnerable dependencies. See which scanned applications include components affected by known vulnerabilities.
- Highlight known exploits. Gauntlet flags vulnerabilities with known public exploits, helping teams distinguish urgent risks from the broader vulnerability list.
- Prioritise remediation. Use vulnerability severity and exploit information to focus on the issues that need attention first.
- Identify available fixes. View available patch versions to help teams determine which upgrades to apply.
- Maintain visibility. Automated daily scans help identify newly disclosed vulnerabilities affecting components already included in scanned software.
An SBOM provides valuable component-level visibility, but it does not automatically verify runtime configurations or environment conditions. For example, Java4Shell also depends on processor capabilities, while NGINX exposure depends on HTTP/2 configuration and, for one of the vulnerabilities, additional worker and proxy conditions.
Gauntlet helps teams identify where to investigate first, so they can make more informed remediation decisions.
Don't wait for the next X-to-Shell
PHP2Shell demonstrates the importance of acting on vulnerabilities with confirmed exploitation evidence. Java4Shell shows how a flaw in a runtime can affect applications even when their own code is not vulnerable. NGINX2Shell highlights the risks in the infrastructure handling application traffic.
The common lesson is simple: security teams need visibility into the components their software depends on.
Know what's in your software supply chain. Identify vulnerabilities earlier and prioritise remediation with Gauntlet.