CVE-2025-1861

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-1861
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1861.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-1861
Aliases
Downstream
Related
Published
2025-03-30T06:15:14Z
Modified
2025-08-11T15:13:41.218582Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events