CVE-2025-1861
Stream HTTP wrapper truncates redirect location to 1024 bytes
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.
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:HConfidentialityHigh
I:HIntegrityHigh
A:HAvailabilityHigh
Weaknesses
Affected Products
ООО «Ред Софт»
commercial·RUaka red soft
ООО «РусБИТех-Астра»
commercial·RUaka rusbitech-astra
АО «ИВК»
commercial·RUaka ivk
PHP Group
oss-projectaka php, pear
php
oss-project·USaka pear, php language, pecl
netapp
commercial·US
Exploitability
Official Patch Available
Attack Graph
Products CVE Techniques Tactics
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
1 technique Initial Access
References
https://www.openwall.com/lists/oss-security/2025/03/14/6
openwall.com
https://github.com/php/php-src/security/advisories/GHSA-52jp-hrpf-2jff
github.com
https://altsp.su/obnovleniya-bezopasnosti/
altsp.su
and 9 more references View all →
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-1861 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
