CVE-2025-1217
Header parser of http stream wrapper does not handle folded headers
Reported by php · Published March 29, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php8.1-tidy | Amazon Linux | 8.1.32-1.amzn2023.0.1 |
| php8.2-ldap | Amazon Linux | 8.2.28-1.amzn2023.0.1 |
| php8.3-bcmath | Amazon Linux | 8.3.19-1.amzn2023.0.1 |
| php8.3-pgsql | Amazon Linux | 8.3.19-1.amzn2023.0.1 |
| php8.1-pgsql | Amazon Linux | 8.1.32-1.amzn2023.0.1 |
| php8.3-modphp | Amazon Linux | 8.3.19-1.amzn2023.0.1 |
| php8.2-embedded | Amazon Linux | 8.2.28-1.amzn2023.0.1 |
| php8.1 | Amazon Linux | 8.1.32-1.amzn2023.0.1 |
| php8.1-common | Amazon Linux | 8.1.32-1.amzn2023.0.1 |
| php | Bitnami | 8.4.5, 8.3.19, 8.2.28, 8.1.32 |
| php8.2-opcache | Amazon Linux | 8.2.28-1.amzn2023.0.1 |
| php8.1-ffi | Amazon Linux | 8.1.32-1.amzn2023.0.1 |
86 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 8.1.*, 8.2.*, 8.3.* |
| PHP Group | PHP | 8.1.*, 8.2.*, 8.3.* |
Timeline
- Mar 13, 2025 CVE Published
- Mar 14, 2025 PoC Published (6 in total, the first dated here)
- Mar 29, 2025 EPSS Score (30 in total, the first dated here)
- Mar 29, 2025 Coalition ESS Score (24 in total, the first dated here)
- Aug 15, 2026 Security Advisory (13 in total, the first dated here)
- Oct 23, 2026 Distribution Patch (9 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-1217
vulnetix vdb fixes CVE-2025-1217
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-1217/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart