Vendors › PHP

CVE-2025-1861

Medium (no CVSS assigned) EPSS 1.1% PHP · core

Stream HTTP wrapper truncate redirect location to 1024 bytes

There is currently limit on the location value size caused by limited size of the location buffer to 1024. However as per https://www.rfc-editor.org/rfc/rfc9110#name-uri-references , the limit is recommended to 8000.

Published2025-03-13
Updated2025-03-13
AffectedPHP versions < 8.1.32; PHP versions < 8.2.28; PHP versions < 8.3.18; PHP versions < 8.4.5
FixUpgrade to 8.1.32, 8.2.28, 8.3.19, 8.4.5 (first fixed release per supported branch).
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-52jp-hrpf-2jff

CVEs (1)

CVECWETypeImpactLinks
CVE-2025-1861CWE-131OverflowOtherNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.