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.
| Published | 2025-03-13 |
| Updated | 2025-03-13 |
| Affected | PHP versions < 8.1.32; PHP versions < 8.2.28; PHP versions < 8.3.18; PHP versions < 8.4.5 |
| Fix | Upgrade to 8.1.32, 8.2.28, 8.3.19, 8.4.5 (first fixed release per supported branch). |
| Vendor advisory | https://github.com/php/php-src/security/advisories/GHSA-52jp-hrpf-2jff |
CVEs (1)
| CVE | CWE | Type | Impact | Links |
|---|---|---|---|---|
| CVE-2025-1861 | CWE-131 | Overflow | Other | NVD · CVE.org · EUVD |
CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.
Same CVE in other advisories
- RHSA-2026:103276 — Red Hat · Critical (8.1) · 2026-11-24
Red Hat Security Advisory: php:7.4 security update - RHSA-2026:102823 — Red Hat · Critical (8.1) · 2026-11-24
Red Hat Security Advisory: php:7.4 security update - RHSA-2026:102713 — Red Hat · Critical (8.1) · 2026-11-24
Red Hat Security Advisory: php:7.4 security update - RHSA-2026:2470 — Red Hat · Medium (6.5) · 2026-02-10
Red Hat Security Advisory: php:7.4 security update - RHSA-2025:15687 — Red Hat · Medium (5.8) · 2025-09-11
Red Hat Security Advisory: php:8.2 security update - NTAP-20250523-0005 — NetApp · Medium (6.3) · 2025-05-23
CVE-2025-1861 PHP Vulnerability in NetApp Products - RHSA-2025:7489 — Red Hat · High (8.1) · 2025-05-13
Red Hat Security Advisory: php security update - RHSA-2025:7418 — Red Hat · High (8.1) · 2025-05-13
Red Hat Security Advisory: php:8.3 security update - RHSA-2025:7431 — Red Hat · Medium (5.3) · 2025-05-13
Red Hat Security Advisory: php security update - RHSA-2025:7432 — Red Hat · Medium (5.8) · 2025-05-13
Red Hat Security Advisory: php:8.2 security update - RHSA-2025:4263 — Red Hat · Medium (5.8) · 2025-04-28
Red Hat Security Advisory: php:8.1 security update
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.