CVE-2025-1861
PHP vulnerability
- Published30 Mar 2025
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 3.1 breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
Remediation
References
Related CVEs
Recent high-severity vulnerabilities sharing a weakness type.
Frequently asked
Is CVE-2025-1861 being actively exploited?
CVE-2025-1861 is not in the CISA KEV catalog. Its EPSS exploit probability is 0.84%.
How severe is CVE-2025-1861?
CVE-2025-1861 has a CVSS 3.1 base score of 9.8, rated critical. EPSS estimates a 0.84% probability of exploitation.
Which products are affected by CVE-2025-1861?
Affected products include Netapp Ontap, PHP.
How do I fix CVE-2025-1861?
Upgrade affected software to a fixed version, for example PHP 8.1.31 or later, then confirm no affected versions remain in your inventory.
How Secuno handles this
Secuno correlates vulnerabilities like CVE-2025-1861 against the real software inventory on every managed device, every day. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.
Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.