Skip to main content

PHP EUVDEUVD-2026-130194

| CVE-2026-127960 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-11-19 php
8.7
CVSS 4.0 · Vendor: php
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Induce PHP app to fetch attacker-influenced URL
  2. Delivery
    Return response with many folded header continuation lines
  3. Exploit
    Stream wrapper reallocates and recopies value per line
  4. Execution
    Exhaust worker CPU before body returns
  5. Impact
    Repeat 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

PHP 8.4.5 <8.4.28
PHP 8.3.18 <8.3.37
PHP 8.5.0 <8.5.13
PHP 8.2.28 <8.2.36

Affected Packages

euvd php fix: 8.2.36, 8.3.37, 8.4.28, 8.5.13

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

Vendor (php) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (php).

CVSS VectorVendor: php

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 19, 2026 - 16:18 EUVD
CVE Published
Nov 19, 2026 - 14:44 cve.org
HIGH 8.7

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 62% exploitable
Prevalence
Ubiquitous
PHP runs a huge fraction of production web servers worldwide
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy