CVE-2026-12184: Null pointer dereference in PHP HTTP stream wrapper
CVE-2026-12184 is a null pointer dereference vulnerability in PHP’s HTTP stream wrapper during HTTP connection handling. When TLS initialization fails, PHP closes and resets the internal stream object but continues cleanup operations that assume the object remains valid. An unauthenticated remote attacker can trigger the failure through TLS validation errors, such as an expired certificate or mismatched peer name, potentially crashing PHP-FPM and disrupting service. Affected PHP branches have fixes in versions 8.3.32, 8.4.21, and 8.5.6.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can crash PHP-FPM and terminate all PHP-FPM worker processes, causing a complete outage of the affected PHP service.
Mitigation
If you can’t patch tonight, do this now.
Review application use of external connections to reduce exposure to the affected HTTP stream wrapper. No specific temporary workaround is established.
Remediation
Patch, then assume compromise.
Upgrade the affected PHP branch to version 8.3.32, 8.4.21, or 8.5.6, or a later patched release. The fixes correct the improper cleanup logic following TLS initialization failure. For affected Red Hat deployments, install the vendor package updates incorporating the PHP 8.3.32 rebase.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-12184 exploited in the wild?
- As of Oct 8, 2026, Mallory has no reports of CVE-2026-12184 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-12184?
- As of Oct 8, 2026, Mallory has found no public exploit for CVE-2026-12184.
- Is there a patch for CVE-2026-12184?
- Upgrade the affected PHP branch to version 8.3.32, 8.4.21, or 8.5.6, or a later patched release. The fixes correct the improper cleanup logic following TLS initialization failure.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.