Vulnerabilities

CVE-2025-1861

Critical 9.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-03-30
Last modified
2026-06-17
Assigned by
security@php.net
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.8 % higher than 54 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Netapp Ontap 9 Affected
Php Php ≥ 8.1.0, < 8.1.31 Affected
Php Php ≥ 8.2.0, < 8.2.26 Affected
Php Php ≥ 8.3.0, < 8.3.14 Affected
Php Php ≥ 8.4.0, < 8.4.5 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities