CVE-2025-1217
JSON

6.3medium

Header parser of http stream wrapper does not handle folded headers

Severity
6.3medium CVSS:4.0 by php
Exploit likelihood
0.58% (higher than 49% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
php
Also known as
BIT-LIBPHP-2025-1217BIT-PHP-2025-1217BIT-PHP-MIN-2025-1217GHSA-v8xr-gpvj-cx9g

Description

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.

Affected

Product or packageVersionsReported by
PHP Group PHPfrom 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.5CVE List
php phpfrom 8.1.0 before 8.1.32, from 8.2.0 before 8.2.28, from 8.3.0 before 8.3.19, from 8.4.0 before 8.4.5NVD
libphp (Bitnami)before 8.1.32, from 8.2.0 before 8.2.28, from 8.3.0 before 8.3.19, from 8.4.0 before 8.4.5Bitnami Vulnerability Database
php (Bitnami)before 8.1.32, from 8.2.0 before 8.2.28, from 8.3.0 before 8.3.19, from 8.4.0 before 8.4.5Bitnami Vulnerability Database
php-min (Bitnami)before 8.1.32, from 8.2.0 before 8.2.28, from 8.3.0 before 8.3.19, from 8.4.0 before 8.4.5Bitnami Vulnerability Database

All scores

php6.3medium CVSS:4.0CVSS: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
NVD3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-20CWE-436

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En PHP desde 8.1.* antes de 8.1.32, desde 8.2.* antes de 8.2.28, desde 8.3.* antes de 8.3.19, desde 8.4.* antes de 8.4.5, cuando el módulo de solicitud http analiza la respuesta HTTP obtenida de un servidor, los encabezados plegados se analizan incorrectamente, lo que puede llevar a una mala interpretación de la respuesta y al uso de encabezados incorrectos, tipos MIME, etc.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-1217 changed 2025-11-03CVE Terms of Use
NVDCVE-2025-1217 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-LIBPHP-2025-1217 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-PHP-2025-1217 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-PHP-MIN-2025-1217 changed 2026-09-08Apache-2.0