Vendors › PHP
CVE-2025-1734
Medium (no CVSS assigned) EPSS 0.7% PHP · core
Streams HTTP wrapper does not fail for headers with invalid name and no colon
The headers without colon are currently returned without in $http_response_header. It means that something like: printf "HTTP/1.0 200 Ok\r\nContent-Type: text/html\r\nWrong-Header\r\nGood-Header: test\r\n\r\nbody\r\n" |nc -l 0.0.0.0 8000 results in following $http_response_header array(4) { [0]=> string(15) "HTTP/1.0 200 Ok" [1]=> string(23) "Content-Type: text/html" [2]=> string(12) "Wrong-Header" [3]=> string(17) "Good-Header: test" } In addition headers that contain a space in header name (before the colon) will also not fail which is not allowed by RFC.
| Published | 2025-03-13 |
| Updated | 2025-03-13 |
| Affected | PHP versions < 8.1.32; PHP versions < 8.2.28; PHP versions < 8.3.18; PHP versions < 8.4.5 |
| Fix | Upgrade to 8.1.32, 8.2.28, 8.3.19, 8.4.5 (first fixed release per supported branch). |
| Vendor advisory | https://github.com/php/php-src/security/advisories/GHSA-pcmh-g36c-qc44 |
CVEs (1)
| CVE | CWE | Type | Impact | Links |
|---|---|---|---|---|
| CVE-2025-1734 | CWE-20 | Input Validation | Other | NVD · CVE.org · EUVD |
CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.
Same CVE in other advisories
- RHSA-2026:2470 — Red Hat · Medium (6.5) · 2026-02-10
Red Hat Security Advisory: php:7.4 security update - RHSA-2025:15687 — Red Hat · Medium (5.8) · 2025-09-11
Red Hat Security Advisory: php:8.2 security update - NTAP-20250523-0009 — NetApp · Medium (6.3) · 2025-05-23
CVE-2025-1734 PHP Vulnerability in NetApp Products - RHSA-2025:7489 — Red Hat · High (8.1) · 2025-05-13
Red Hat Security Advisory: php security update - RHSA-2025:7418 — Red Hat · High (8.1) · 2025-05-13
Red Hat Security Advisory: php:8.3 security update - RHSA-2025:7431 — Red Hat · Medium (5.3) · 2025-05-13
Red Hat Security Advisory: php security update - RHSA-2025:7432 — Red Hat · Medium (5.8) · 2025-05-13
Red Hat Security Advisory: php:8.2 security update - RHSA-2025:4263 — Red Hat · Medium (5.8) · 2025-04-28
Red Hat Security Advisory: php:8.1 security update
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.