Header parser of http stream wrapper does not handle folded headers
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 3 fixed, 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when http request module parses HTTP response obtained from a server, folded headers are parsed incorrectly, which may lead to misinterpreting the response and using incorrect headers, MIME types, etc.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| PHP Group | PHP | before 8.1.32; before 8.2.28; before 8.3.19; before 8.4.5 | 8.1.32, 8.2.28, 8.3.19, 8.4.5 | Patch available | CNA |
- PHP VendorPHP Group Affected before 8.1.32; before 8.2.28; before 8.3.19; before 8.4.5 Fixed in 8.1.32, 8.2.28, 8.3.19, 8.4.5 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 8.1.0 to before 8.1.32; 8.2.0 to before 8.2.28; 8.3.0 to before 8.3.19; 8.4.0 to before 8.4.5 | Vulnerable | PHP |
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 8.1.0 to before 8.1.32; 8.2.0 to before 8.2.28; 8.3.0 to before 8.3.19; 8.4.0 to before 8.4.5 Vulnerable ·PHP
Remediation
- Fix · CNA PHP (PHP Group) Fixed in 8.1.32, 8.2.28, 8.3.19, 8.4.5
Red Hat 7 advisories
- RHSA-2026:2470 Released 2026-02-10 · Red Hat rating Moderatephp:7.4 security update
- Red Hat Enterprise Linux AppStream (v. 8) apcu-panel-5.1.18-1.module+el8.10.0+22485+a3539972.noarch::php:7.4, libzip-1.6.1-1.module+el8.10.0+22485+a3539972.aarch64::php:7.4, libzip-1.6.1-1.module+el8.10.0+22485+a3539972.ppc64le::php:7.4 +47
- RHSA-2025:15687 Released 2025-09-11 · Red Hat rating Moderatephp:8.2 security update
- Red Hat Enterprise Linux AppStream (v. 8) apcu-panel-5.1.23-1.module+el8.10.0+20770+a5eca186.noarch::php:8.2, libzip-1.7.3-1.module+el8.10.0+20770+a5eca186.aarch64::php:8.2, libzip-1.7.3-1.module+el8.10.0+20770+a5eca186.ppc64le::php:8.2 +47
- RHSA-2025:7489 Released 2025-05-13 · Red Hat rating Importantphp security update
- Red Hat Enterprise Linux AppStream (v. 10) php-8.3.19-1.el10_0, php-bcmath-8.3.19-1.el10_0, php-cli-8.3.19-1.el10_0 +22
Show 4 more Red Hat advisories
- RHSA-2025:7432 Released 2025-05-13 · Red Hat rating Moderatephp:8.2 security update
- Red Hat Enterprise Linux AppStream (v. 9) apcu-panel-5.1.23-1.module+el9.4.0+20748+b46899d2.noarch::php:8.2, php-8.2.28-1.module+el9.6.0+23063+43495379.aarch64::php:8.2, php-8.2.28-1.module+el9.6.0+23063+43495379.ppc64le::php:8.2 +47
- RHSA-2025:7431 Released 2025-05-13 · Red Hat rating Moderatephp security update
- Red Hat Enterprise Linux AppStream (v. 9) php-8.0.30-3.el9_6, php-bcmath-8.0.30-3.el9_6, php-cli-8.0.30-3.el9_6 +22
- RHSA-2025:7418 Released 2025-05-13 · Red Hat rating Importantphp:8.3 security update
- Red Hat Enterprise Linux AppStream (v. 9) apcu-panel-5.1.23-1.module+el9.6.0+22647+1741ae35.noarch::php:8.3, php-8.3.19-1.module+el9.6.0+23015+da8065b7.aarch64::php:8.3, php-8.3.19-1.module+el9.6.0+23015+da8065b7.ppc64le::php:8.3 +47
- RHSA-2025:4263 Released 2025-04-28 · Red Hat rating Moderatephp:8.1 security update
- Red Hat Enterprise Linux AppStream (v. 9) apcu-panel-5.1.21-1.module+el9.1.0.z+15477+cb86791d.noarch::php:8.1, php-8.1.32-1.module+el9.5.0+23047+aadb97d2.aarch64::php:8.1, php-8.1.32-1.module+el9.5.0+23047+aadb97d2.ppc64le::php:8.1 +47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2025:7489 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2025:15687, RHSA-2026:2470 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2025:4263, RHSA-2025:7418, RHSA-2025:7431, RHSA-2025:7432 |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-1217
References
More PHP Group vulnerabilities
- TI-2024-04260 Argument Injection in PHP-CGI KEVCVSS 3.1CRITICAL 9.8
- TI-2026-78794 PHP remote code execution via stale global state KEVCVSS 4.0CRITICAL 9.2
- TI-2026-78793 Out-of-memory handling flaw in PHP allows remote code execution KEVCVSS 4.0CRITICAL 9.2
- TI-2024-01743 Command injection via array-ish $command parameter of proc_open() CVSS 3.1CRITICAL 9.4
- TI-2022-13555 PDO::quote() may return unquoted string CVSS 3.1CRITICAL 9.1
- TI-2024-10408 Reference counting in php_request_shutdown causes Use-After-Free CVSS 4.0CRITICAL 9.2
Sources
- CVE-2025-1217 · CVE Program
- CVE-2025-1217 · NVD
- FIRST EPSS
- CVE-2025-1217 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences