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

Published Mar 13, 2025
·
Updated

Fixed (Header parser of http stream wrapper does not handle folded headers). (CVE-2025-1217)

Other sources

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.

Debian

Affected Software

8 affected componentsFixes available
PHP PHP<8.2.28
8.2.28
debian/php7.4<=7.4.33-1+deb11u5
7.4.33-1+deb11u8
debian/php8.2<=8.2.26-1~deb12u1
8.2.28-1~deb12u1
debian/php8.4
8.4.5-1
PHP PHP>=8.1.0<8.1.32
PHP PHP>=8.2.0<8.2.28
PHP PHP>=8.3.0<8.3.19
PHP PHP>=8.4.0<8.4.5

Event History

Mar 13, 2025
CVE Published
via PHP·12:00 AM
Mar 29, 2025
CVE Published
via MITRE·05:19 AM
Data Sourced
via MITRE·05:19 AM
DescriptionWeakness
Data Sourced
via Red Hat·06:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·06:15 AM
DescriptionSeverityWeaknessAffected Software
Mar 31, 2025
Data Sourced
via Ubuntu·11:16 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-1217?

CVE-2025-1217 has been rated as a moderate severity vulnerability affecting the header parser of the HTTP stream wrapper.

2

How do I fix CVE-2025-1217?

To fix CVE-2025-1217, upgrade your PHP version to 8.3.19 or later.

3

What does CVE-2025-1217 affect?

CVE-2025-1217 affects the header parser functionality within the HTTP stream wrapper of PHP.

4

Is CVE-2025-1217 exploitable?

Yes, CVE-2025-1217 can be exploited to manipulate HTTP header handling, potentially leading to security issues in PHP applications.

5

What versions of PHP are vulnerable to CVE-2025-1217?

PHP versions below 8.3.19 are vulnerable to CVE-2025-1217.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203