VDB

CVE-2025-1217

CVE-2025-1217 PUBLISHED CVSS 6.3 MEDIUM

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.

PackageEcosystemFixed in
php8.1-tidyAmazon Linux8.1.32-1.amzn2023.0.1
php8.2-ldapAmazon Linux8.2.28-1.amzn2023.0.1
php8.3-bcmathAmazon Linux8.3.19-1.amzn2023.0.1
php8.3-pgsqlAmazon Linux8.3.19-1.amzn2023.0.1
php8.1-pgsqlAmazon Linux8.1.32-1.amzn2023.0.1
php8.3-modphpAmazon Linux8.3.19-1.amzn2023.0.1
php8.2-embeddedAmazon Linux8.2.28-1.amzn2023.0.1
php8.1Amazon Linux8.1.32-1.amzn2023.0.1
php8.1-commonAmazon Linux8.1.32-1.amzn2023.0.1
phpBitnami8.4.5, 8.3.19, 8.2.28, 8.1.32
php8.2-opcacheAmazon Linux8.2.28-1.amzn2023.0.1
php8.1-ffiAmazon Linux8.1.32-1.amzn2023.0.1

86 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
6.3
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/AU:Y/R:A

Affected products

VendorProductVersions
PHP GroupPHP8.1.*, 8.2.*, 8.3.*
PHP GroupPHP8.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›