# CVE-2025-1217: Header parser of http stream wrapper does not handle folded headers

- Severity: Medium 6.3 (CVSS:4.0, scored by php) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-29T05:19:33.696Z
- Modified: 2026-09-08T08:48:18.314Z
- Also known as: BIT-LIBPHP-2025-1217, BIT-PHP-2025-1217, BIT-PHP-MIN-2025-1217, GHSA-v8xr-gpvj-cx9g
- Weaknesses: CWE-20, CWE-436
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: php

## 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.

(As written by CVE List.)

## Affected

- PHP Group 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
- php php: from 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.5
- 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.5
- 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.5
- 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.5

## Every score

- php: CVSS:4.0 6.3 Medium `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`
- NVD: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/php/php-src/security/advisories/GHSA-v8xr-gpvj-cx9g> (exploit, advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20250523-0008/> (web)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00014.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-1217> (web)

## Sources

- CVE List: [CVE-2025-1217](https://www.cve.org/CVERecord?id=CVE-2025-1217), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2025-1217](https://nvd.nist.gov/vuln/detail/CVE-2025-1217), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LIBPHP-2025-1217](https://osv.dev/vulnerability/BIT-LIBPHP-2025-1217), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-2025-1217](https://osv.dev/vulnerability/BIT-PHP-2025-1217), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2025-1217](https://osv.dev/vulnerability/BIT-PHP-MIN-2025-1217), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-1217 · Whole record: https://cve.day/CVE-2025-1217.json · Rebuilt by cve.day 2026-11-25T22:58:55.686Z
