Vulnerability 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 parsing HTTP redirect in the response to an HTTP request, there is currently limit on the location value size caused by limited size of the location buffer to 1024. However as per RFC9110, the limit is recommended to be 8000. This may lead to incorrect URL truncation and redirecting to a wrong location.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 8.1.0, < 8.1.31 |
| Netapp | Ontap | 9 |
Related Weaknesses (CWE)
References
- https://github.com/php/php-src/security/advisories/GHSA-52jp-hrpf-2jffVendor Advisory
- https://lists.debian.org/debian-lts-announce/2025/03/msg00014.html
- https://security.netapp.com/advisory/ntap-20250523-0005/Third Party Advisory
FAQ
What is CVE-2025-1861?
CVE-2025-1861 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 parsing HTTP redirect in the response to an HTTP request, there is currently limit on...
How severe is CVE-2025-1861?
CVE-2025-1861 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2025-1861?
Check the references section above for vendor advisories and patch information. Affected products include: Php Php, Netapp Ontap.