Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInduce PHP app to fetch attacker-influenced URL
-
DeliveryReturn response with many folded header continuation lines
-
ExploitStream wrapper reallocates and recopies value per line
-
ExecutionExhaust worker CPU before body returns
-
ImpactRepeat concurrently to deny service to users
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the application use PHP's built-in HTTP/HTTPS stream wrapper (file_get_contents(), fopen(), or other stream functions) to fetch a remote URL, AND that the attacker can control the response for that fetch - either by controlling the destination server or by influencing a server the application already contacts (including via redirect targets) - AND can cause the outbound request to be made. The vendor explicitly states that enabling allow_url_fopen alone does NOT make an application vulnerable; a reachable outbound-request trigger is also needed. Limiting factors: applications that never fetch remote URLs through the stream wrapper, or that restrict outbound requests to trusted destinations, are not exposed; the impact is availability (CPU exhaustion of PHP workers) only, with no data exposure or code execution. Mitigations per the advisory: upgrade to the fixed branch release; until then restrict outbound requests to trusted destinations including redirect targets, front fetches with an egress proxy that enforces response-header size/count limits, and use request execution limits / PHP-FPM request_terminate_timeout to cap worker occupancy (these limit duration but do not remove the vulnerable parsing behaviour). |
| Impact | This is a genuine but bounded availability risk, not a high-CVSS paper tiger - yet also not an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 8.7 (High) driven entirely by VA:H with VC:N/VI:N - availability-only, no confidentiality or integrity impact, consistent with the CWE-400/CWE-407 (algorithmic complexity) root cause confirmed by the PHP GHSA advisory. The network vector and lack of required privileges are technically accurate, but the real-world precondition narrows exposure sharply: the attacker does not merely reach PHP, they must control (or influence) the HTTP/HTTPS response that a PHP application fetches via file_get_contents()/fopen()/stream functions, and must be able to trigger that outbound request. No EPSS score is provided in the input, and there is no CISA KEV listing and no confirmed public exploit, so exploitation is at present theoretical/vendor-demonstrated rather than observed in the wild. The vendor's own testing confirmed two malicious responses could saturate both workers of a two-worker PHP-FPM pool, which substantiates the VA:H impact. The vuln.today priority is 'this_week' - a prompt-but-not-immediate cadence that matches a DoS-only, condition-gated flaw in a ubiquitous runtime. Signals are internally consistent: the PR:N/AC:L vector reflects that once a malicious response is returned the trigger is simple, while the environmental precondition (outbound request to an attacker-influenced server) is the main brake on widespread exploitation. Note EPSS is absent from the input, so probabilistic exploitation likelihood cannot be quantified here. |
| Exploit ScenarioDerived | An application uses PHP's HTTP stream wrapper (e.g. file_get_contents on a user- or config-supplied URL, a webhook/SSRF-reachable fetch, or a service it routinely calls) to retrieve a remote resource. The attacker-controlled or attacker-influenced server returns a response containing a single header folded across thousands of short continuation lines, forcing PHP to reallocate and recopy the accumulating header value per line and burning CPU before the body is ever returned. Repeating this concurrently keeps PHP-FPM workers busy and denies service to legitimate users; no public exploit is identified at time of analysis, though the vendor demonstrated worker saturation in testing. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
Excessive CPU consumption in PHP's built-in HTTP/HTTPS stream wrapper lets a malicious or compromised remote server stall PHP workers by returning a response header broken into a large number of short continuation (folded) lines, which the wrapper rejoins with a fresh string allocation and full copy per line. The flaw affects PHP 8.2.x from 8.2.28, 8.3.x from 8.3.18, 8.4.x from 8.4.5 and 8.5.x before 8.5.13, and only matters where the application fetches attacker-influenced URLs via file_get_contents(), fopen() or other stream functions. Unauthenticated remote attackers (CVSS:4.0 PR:N/AV:N) can cause availability loss only; no public exploit code or confirmed active exploitation was identified at time of analysis, and the vendor's own testing showed two crafted responses saturating a two-worker PHP-FPM pool.
RemediationAI
Vendor-released patch: upgrade to PHP 8.2.36, 8.3.37, 8.4.28 or 8.5.13 depending on your branch, as listed in GHSA-mmf9-xm3v-hg2x (https://github.com/php/php-src/security/advisories/GHSA-mmf9-xm3v-hg2x). Where upgrading is not immediately possible, the advisory's compensating controls are: restrict outbound requests made through the stream wrapper to trusted destinations, including redirect targets, which removes the attacker's ability to supply a crafted response but may break integrations that rely on open outbound fetching; and place an egress proxy in front of outbound HTTP(S) traffic that enforces response-header size and count limits so malicious responses are rejected before PHP parses them, which adds an infrastructure hop and a policy to maintain. Request execution limits and PHP-FPM's request_terminate_timeout bound how long a worker stays occupied but do not remove the vulnerable parsing behaviour, so they only shorten, not prevent, the denial of service. Note that enabling allow_url_fopen alone does not make an application vulnerable; a reachable outbound-request trigger that the attacker can influence is also required, so applications that never fetch remote URLs through the stream wrapper need no action beyond normal version hygiene.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability sits in PHP's stream layer rather than in userland code: when allow_url_fopen is enabled, the http:// and https:// stream wrappers parse the status line and headers of every response before any body bytes reach file_get_contents(), fopen(), or similar functions. HTTP header folding (the obs-fold continuation-line syntax) is handled by appending each continuation line to the accumulated header value; the vulnerable implementation allocated a new string and copied the entire accumulated value for each continuation line, making parsing cost grow disproportionately with the number of lines - an algorithmic complexity problem (CWE-407) manifesting as uncontrolled resource consumption (CWE-400). The advisory notes this behaviour was introduced by the fix for GHSA-v8xr-gpvj-cx9g (CVE-2025-1217), and the corrected code accumulates into a growing buffer instead, preserving obs-fold handling without the per-line full copy. The parsing happens on the server side of the outbound request, so an attacker only needs to control or influence an HTTP response the victim application fetches; because the work is done synchronously in the worker, repeated or concurrent fetches translate directly into CPU-bound worker exhaustion. No confidentiality or integrity impact was observed.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Triggered by a crafted remote response with no privileges or user interaction once the app fetches it (AV:N/AC:L/PR:N/UI:N); impact is CPU-exhaustion DoS only, so A:H with C:N/I:N.
Primary rating from Vendor (php).
CVSS VectorVendor: php
Lifecycle Timeline
2DescriptionCVE.org
Denial of service through folded HTTP response headers.
The HTTP stream wrapper joins each continuation line of a folded response header to the accumulated value by allocating a new string and copying the whole value, so a response with many short continuation lines takes disproportionate CPU time to parse. An attacker who controls an HTTP or HTTPS response fetched through file_get_contents(), fopen() or other stream functions, by making the application request a chosen URL or by influencing a server it already contacts, can keep PHP workers busy. Repeated or concurrent requests can cause a denial of service.
This issue affects PHP versions from 8.2.28 before 8.2.36, from 8.3.18 before 8.3.37, from 8.4.5 before 8.4.28 and 8.5.* before 8.5.13.
Technical POC Analysis
CWE-400 (Uncontrolled Resource Consumption), with the algorithmic-complexity flavour the advisory also tags as CWE-407.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A resource-exhaustion flaw in PHP's built-in HTTP/HTTPS stream wrapper (CVE-2026-127960) allows a malicious or compromised remote server to consume excessive CPU and stall PHP workers, potentially degrading or taking down applications that fetch external URLs. Leadership should care because any PHP-based service-including customer-facing web applications and API gateways relying on PHP-FPM-is exposed where URL fetching is attacker-influenced, threatening availability and service uptime. No public exploit code or confirmed active exploitation was identified at time of analysis.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict outbound HTTP/HTTPS egress to approved destinations; route fetches through a proxy or hardened client (cURL) that caps response-header size and folded-line counts; enforce strict connect/read timeouts; avoid file_get_contents()/fopen() on untrusted URLs; and add PHP-FPM worker capacity and monitoring to limit availability impact.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-130194
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB