Dominic Scheirlinck of VendHQ reports:
Many software projects and vendors have implemented support for the “Proxy” request header in their respective CGI implementations and languages by creating the “HTTPPROXY” environmental variable based on the header value. When this variable is used (in many cases automatically by various HTTP client libraries) any outgoing requests generated in turn from the attackers original request can be redirected to an attacker controlled proxy. This allows attackers to view potentially sensitive information, reply with malformed data, or to hold connections open causing a potential denial of service.
The PHP web framework contains will automatically populate the HTTPPROXY environmental variable with a user supplied "Proxy" header.
A malicious HTTP server can cause PHP's built-in HTTP stream wrapper to consume excessive CPU while reading a response. Applications using filegetcontents(), fopen() or other stream functions to fetch an HTTP or HTTPS URL may become slow or unavailable if the response contains a header split across a large number of continuation lines.
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 filegetcontents(), 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.1.32 through 8.1.34, 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.
Fixed (PHP-FPM epoll use-after-free can lead to local privilege escalation). (CVE-2026-129291)
Fixed (Stream HTTP wrapper header check might omit basic auth header). (CVE-2025-1736)
Fixed (Stream HTTP wrapper truncate redirect location to 1024 bytes). (CVE-2025-1861)
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 user-supplied headers are sent, the insufficient validation of the end-of-line characters may prevent certain headers from being sent or lead to certain headers be misinterpreted.
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.
Fixed (Use-after-free after header parsing failure with SOAPPERSISTENCESESSION). (CVE-2026-7261)
Fixed (Stale SOAPGLOBAL(refmap) pointer with Apache Map). (CVE-2026-6722)
In PHP versions 8.2. before 8.2.31, 8.3. before 8.3.31, 8.4. before 8.4.21, and 8.5. before 8.5.6, when SoapServer is configured with SOAPPERSISTENCESESSION, the handler object is persisted across requests via session storage. However, in the case SOAP requests results in an error, the persistance is handled incorrectly, resulting in freeing the object while keeping a pointer to it, which may lead to use-after-free. This may lead to memory corruption, information disclosure, or process crashes, with confidentiality, integrity, and availability impact on the vulnerable system.
Fixed (SQL injection via E'...' backslash breakout). (CVE-2026-17543)
Improper escaping of backslashes in attacker-provided parameters would allow for trivial SQL injection in PHP versions from 8.2. before 8.2.33, from 8.3. before 8.3.33, from 8.4. before 8.4.24, and from 8.5. before 8.5.9.
Fixed (PHP-FPM request smuggling through an unread HTTP request body). (CVE-2026-129289)
PHP-FPM request smuggling through an unread HTTP request body.
PHP does not discard the unread part of an HTTP request body at request shutdown when the application has opened php://input without reading it to the end. When the front end reuses backend connections, which is not the default in nginx or Apache (for example nginx with fastcgikeepconn on, or Apache modproxyfcgi with enablereuse=on), PHP-FPM can parse the leftover bytes as a new FastCGI request. An unauthenticated remote attacker can use a single crafted multipart/form-data request to forge a backend request with chosen parameters such as SCRIPTFILENAME, REMOTEADDR and PHPADMINVALUE, which can lead to execution of attacker-controlled PHP code. With LSAPI, subsequent requests on the connection can be disrupted.
This issue affects PHP versions before 8.2.36, 8.3. before 8.3.37, 8.4. before 8.4.28 and 8.5. before 8.5.13.
Fixed (SOAP information disclosure through malformed array dimensions). (CVE-2026-15353)
SOAP information disclosure through malformed array dimensions.
The SOAP extension reads an uninitialized array position when decoding an encoded array whose arraySize attribute is empty, whitespace-only or non-numeric, or when such dimensions come from a WSDL definition. Four bytes of unrelated heap data can then be used as an integer key in the decoded array. An unauthenticated remote client can trigger this with a crafted request to a SoapServer endpoint, and a malicious SOAP server with a response to SoapClient. Heap memory is disclosed only if the application returns or otherwise exposes the decoded array.
This issue affects PHP versions before 8.2.36, 8.3. before 8.3.37, 8.4. before 8.4.28 and 8.5. before 8.5.13.
Double free during DOM XML serialization.
The XML serializer of Dom\XMLDocument and Dom\HTMLDocument can share ownership of a generated namespace prefix between the namespace-prefix maps of an element and a descendant, so the prefix is used after being freed and then freed a second time. The document does not need to be malformed. An application that parses attacker-controlled XML or HTML with these classes and serializes it with saveXml() can be crashed, and repeated requests can cause denial of service. Code execution has not been demonstrated.
This issue affects PHP versions 8.4. before 8.4.28 and 8.5. before 8.5.13.
Double free during DOM XML serialization.
The XML serializer of Dom\XMLDocument and Dom\HTMLDocument can share ownership of a generated namespace prefix between the namespace-prefix maps of an element and a descendant, so the prefix is used after being freed and then freed a second time. The document does not need to be malformed. An application that parses attacker-controlled XML or HTML with these classes and serializes it with saveXml() can be crashed, and repeated requests can cause denial of service. Code execution has not been demonstrated.
This issue affects PHP versions 8.4. before 8.4.28 and 8.5. before 8.5.13.
Fixed (Use-after-free in magic method backtraces can lead to remote code execution). (CVE-2026-129474)
Fixed (Incorrect RFC 3986 URI serialization for oversized input). (CVE-2026-129438)
Fixed (PHP-CGI out-of-bounds read and write during PATHINFO correction). (CVE-2026-129538)
Incorrect RFC 3986 URI serialization for oversized input.
The Uri\Rfc3986\Uri class does not correctly handle the output-size limit and errors of the uriparser library when converting a URI back to a string. For a URI whose string representation reaches approximately 2 GiB, toString(), toRawString() and other serializing operations can return a truncated or invalid string instead of an error. An application that accepts attacker-controlled URI data of that size, has enough memory to process it and trusts the result may make incorrect validation or routing decisions, and the large allocations can exhaust memory. parseurl() and Uri\WhatWg\Url are not affected.
This issue affects PHP versions 8.5. before 8.5.13.
Use-after-free in magic method backtraces can lead to remote code execution.
When collecting the arguments of a method call handled by call() or callStatic() for a backtrace, PHP can read stale values that may refer to freed memory. If a fatal error such as exceeding memorylimit occurs while an application enters such a call, with fatalerrorbacktraces enabled (the default) and zend.exceptionignoreargs disabled, a remote attacker who controls enough request data to influence memory allocation may cause memory corruption, crash the PHP worker or, with knowledge of memory addresses, execute arbitrary code. php.ini-production enables zend.exceptionignoreargs, which prevents this.
This issue affects PHP versions 8.5. before 8.5.13.
PHP-CGI out-of-bounds read and write during PATHINFO correction.
The PHP CGI binary (php-cgi), in CGI and FastCGI mode with cgi.fixpathinfo enabled (the default), can perform an out-of-bounds read and write when the path removed from SCRIPTFILENAME or PATHTRANSLATED is longer than the supplied PATHINFO, or when PATHINFO is empty. This requires a web server mapping that passes such inconsistent values, or a FastCGI listener reachable by untrusted clients. An unauthenticated remote attacker can crash the process, may obtain process memory if the application exposes PATHINFO or PATHTRANSLATED, and may corrupt memory. PHP-FPM and the Apache module are not affected.
This issue affects PHP versions before 8.2.36, 8.3. before 8.3.37, 8.4. before 8.4.28 and 8.5. before 8.5.13.
Fixed (SOAP use-after-free when processing DTD entity references). (CVE-2026-129506)
Fixed (Use-after-free after interrupted session shutdown). (CVE-2026-129481)
Fixed (Timezone cache use-after-free can lead to remote code execution). (CVE-2026-129496)
Fixed (PHP-FPM status endpoint XSS via unescaped user and script fields). (CVE-2026-129292)
Use-after-free after interrupted session shutdown.
The session extension records the filename of the executing script when a session starts. If a fatal error occurs in an application callback while the session variables are destroyed at shutdown, such as streamclose() of a user-defined stream wrapper, the pointer is retained after the request memory is freed, and a later request handled by the same worker can free the stale string. An attacker who can trigger such a failing cleanup may crash the worker or corrupt memory; code execution has not been demonstrated. This requires the filename to be allocated in request memory, for example when the script is not cached by OPcache.
This issue affects PHP versions 8.3. before 8.3.37, 8.4. before 8.4.28 and 8.5. before 8.5.13.