HTTP response misinterpretation via folded-header parsing
Published Mar 29, 2025 · Updated Nov 3, 2025
Improper input validation in PHP's HTTP stream wrapper allows remote attackers to cause response-header and MIME-type misinterpretation. The parser treats each newline as a header boundary instead of replacing an obsolete folded continuation with spaces, so it reports the continuation as a separate header. Exploitation requires PHP code to retrieve a response from an attacker-controlled or intercepted HTTP server; affected code can select the wrong MIME type or associate headers with the wrong redirected response.
Summary
What happened
Improper input validation in PHP's HTTP stream wrapper allows remote attackers to cause response-header and MIME-type misinterpretation. The parser treats each newline as a header boundary instead of replacing an obsolete folded continuation with spaces, so it reports the continuation as a separate header. Exploitation requires PHP code to retrieve a response from an attacker-controlled or intercepted HTTP server; affected code can select the wrong MIME type or associate headers with the wrong redirected response.
The record
- CVE
- CVE-2025-1217
- Published
- Mar 29, 2025
- Updated
- Nov 3, 2025
- Vendor
- The PHP Group
- Product
- PHP
- Classifications
- CWE-20, CAPEC-273
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 29, 2025CVE publishedPublication date reported by the CVE source.
- Nov 3, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=8.1.* <8.1.32
- Affected versionversion=8.2.* <8.2.28
- Affected versionversion=8.3.* <8.3.19
- Affected versionversion=8.4.* <8.4.5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Upstream folded-header parser proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo