Vendors › PHP

CVE-2026-12184

High (8.2) PHP · core

Failure to setup TLS with a remote server can result in a remote DoS

In php_stream_url_wrap_http_ex, when TLS crypto setup fails (via php_stream_xport_crypto_setup or php_stream_xport_crypto_enable), the stream is closed and reset to NULL. However, the subsequent peer name cleanup block unconditionally tries to reset the peer name.

Published2026-07-02
Updated2026-07-02
AffectedPHP versions < 8.3.32; PHP versions < 8.4.21; PHP versions < 8.5.6
FixUpgrade to 8.3.32, 8.4.21, 8.5.6 (first fixed release per supported branch).
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-mhmq-mmqj-2v39

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-12184———NVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.