2084AI Security Observatory

CVE

CVE-2025-1861

CVE-2025-1861MED 6.3EPSS 59%

CNA 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.

Affected versions

All PHP vulnerabilities →

  • ≥ 8.4.0, < 8.4.5Fixed in 8.4.5
  • ≥ 8.3.0, < 8.3.14Fixed in 8.3.14
  • ≥ 8.2.0, < 8.2.26Fixed in 8.2.26
  • ≥ 8.1.0, < 8.1.31Fixed in 8.1.31

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.