p PatchFirst

PatchFirst · Latest vulnerabilities

php84 vulnerabilities

Vulnerabilities published for php84 in the last 30 days: 14. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 43

  1. CVE-2026-129501

    Medium · CVSS 6.3EPSS 0.53%Fix available

    Double free during DOM XML serialization

    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.

    • Update to 8.4.28-r0
    Published Updated
  2. CVE-2026-129289

    Critical · CVSS 9.2EPSS 24.79%Public exploitFix available

    PHP-FPM request smuggling through an unread HTTP request body

    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 fastcgi_keep_conn on, or Apache mod_proxy_fcgi 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 SCRIPT_FILENAME, REMOTE_ADDR and PHP_

    • Update to 8.4.28-r0
    Published Updated
  3. CVE-2026-15353

    Medium · CVSS 6.3EPSS 0.84%Fix available

    SOAP information disclosure through malformed array dimensions

    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 versio

    • Update to 8.4.28-r0
    Published Updated
  4. CVE-2026-127960

    High · CVSS 8.7EPSS 0.43%Fix available

    Denial of service through folded HTTP response headers

    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

    • Update to 8.4.28-r0
    Published Updated
  5. CVE-2026-129291

    High · CVSS 8.8EPSS 1.39%Fix available

    PHP-FPM epoll use-after-free can lead to local privilege escalation

    PHP-FPM epoll use-after-free can lead to local privilege escalation. When catch_workers_output is enabled and the epoll event backend is used, the PHP-FPM master can close a worker's output pipe in fpm_child_close() without removing the associated event, and the delayed cleanup can free the worker record while its epoll registration is still active. A later event is then dispatched through a pointer into freed memory. A local attacker who can execute PHP code in an FPM worker can crash the master or execute code with its privileges, commonly root. catch_workers_output is disabled by default but enabled in the official PHP-FPM Docker images.

    • Update to 8.4.28-r0
    Published Updated
  6. CVE-2026-129496

    Critical · CVSS 9.2EPSS 11.07%Public exploitFix available

    Timezone cache use-after-free can lead to remote code execution

    Timezone cache use-after-free can lead to remote code execution. In non-thread-safe builds, a diagnostic written to a file-based error_log during module startup, for example for an invalid date.timezone value or a session configuration warning, causes the timezone cache to be allocated in startup memory that is freed while a reference to it is kept. A diagnostic raised early in the first request of a worker, such as the max_input_vars warning, then accesses the freed cache. On such a deployment an unauthenticated remote attacker can crash PHP-FPM, Apache mod_php or CGI workers with a crafted request. Arbitrary code execution may be possible

    • Update to 8.4.28-r0
    Published Updated
  7. CVE-2026-129481

    Critical · CVSS 9.2EPSS 6.38%Fix available

    Use-after-free after interrupted session shutdown

    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 stream_close() 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

    • Update to 8.4.28-r0
    Published Updated
  8. CVE-2026-126714

    Critical · CVSS 9.2EPSS 33.77%Public exploitFix available

    Partially overwritten session files can lead to remote code execution

    Partially overwritten session files can lead to remote code execution. The files session save handler, which is the default, writes updated session data into the existing session file without first clearing it. If a write is interrupted, the file can contain the beginning of the new session followed by the end of the old one, and bytes of an ordinary string can later be unserialized as objects. An attacker who can influence the session data, for example through session upload progress, and interrupt a write at a suitable point may inject objects, which can lead to code execution when the application contains a suitable gadget chain. Session

    • Update to 8.4.28-r0
    Published Updated
  9. CVE-2026-128064

    High · CVSS 8.2EPSS 0.27%Public exploitFix available

    Mixed-case HTTPS and FTPS URLs can expose data in plaintext

    Mixed-case HTTPS and FTPS URLs can expose data in plaintext. The HTTP and FTP stream wrappers recognise URL schemes case-insensitively, but enable TLS only when the scheme contains a lowercase "s" at a fixed position. A URL such as HTTPS:// or FTPS:// passed to file_get_contents(), fopen() or other stream functions, or received as an HTTP redirect target, is therefore handled over unencrypted HTTP or FTP. An attacker able to observe the network traffic can read data the application expected TLS to protect, including credentials, request bodies and transferred files. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* b

    • Update to 8.4.28-r0
    Published Updated
  10. CVE-2026-128090

    High · CVSS 7.7EPSS 0.32%Fix available

    PHAR OpenSSL signature bypass via algorithm downgrade

    PHAR OpenSSL signature bypass via algorithm downgrade. The Phar extension selects the signature verification method from the signature type stored in the archive, and only the OpenSSL types consult the separate .pubkey file holding the trusted public key. An attacker who can modify an OpenSSL-signed Phar archive, but not its public key file, can switch the signature type to a keyless hash such as SHA-256 with a recomputed digest, so the altered archive passes verification even with phar.require_hash enabled. An application that loads the archive may then execute attacker-controlled PHP code. Native, tar-based and zip-based phars are affected

    • Update to 8.4.28-r0
    Published Updated
  11. CVE-2026-115560

    Critical · CVSS 9.2EPSS 86.58%Public exploitFix available

    Session serializer mismatch can lead to remote code execution

    Session serializer mismatch can lead to remote code execution. Session upload progress, when enabled, can store attacker-controlled data in a session key using the php_binary or php_serialize session serializer. If the same session is later read with the php serializer, because session.serialize_handler is changed at runtime or differs between applications sharing a session store, bytes inside the key can be passed to the unserializer. A remote attacker able to submit a multipart upload can inject objects, which may lead to code execution when the reading application contains a suitable gadget chain, or to session corruption or denial of ser

    • Update to 8.4.28-r0
    Published Updated
  12. CVE-2026-129538

    Medium · CVSS 6.9EPSS 12.82%Fix available

    PHP-CGI out-of-bounds read and write during PATH_INFO correction

    PHP-CGI out-of-bounds read and write during PATH_INFO correction. The PHP CGI binary (php-cgi), in CGI and FastCGI mode with cgi.fix_pathinfo enabled (the default), can perform an out-of-bounds read and write when the path removed from SCRIPT_FILENAME or PATH_TRANSLATED is longer than the supplied PATH_INFO, or when PATH_INFO 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 PATH_INFO or PATH_TRANSLATED, and may corrupt memory. PHP-FPM and the Apa

    • Update to 8.4.28-r0
    Published Updated
  13. CVE-2026-129506

    Medium · CVSS 6.3EPSS 1.94%Fix available

    SOAP use-after-free when processing DTD entity references

    SOAP use-after-free when processing DTD entity references. The SOAP extension frees the document type definition (DTD) of a parsed XML document while attribute values can still refer to entities it owns, and can then read freed memory. Removing the DTD also bypasses the SOAP server's rejection of documents that contain one. An unauthenticated remote attacker who can send a crafted request to a SOAP endpoint, or who controls a WSDL or schema document loaded by the application, can crash the PHP process and cause denial of service. Memory disclosure and code execution have not been confirmed. This issue affects PHP versions before 8.2.36, 8.3

    • Update to 8.4.28-r0
    Published Updated
  14. CVE-2026-129292

    Medium · CVSS 5.3EPSS 1.07%Fix available

    PHP-FPM status endpoint XSS via unescaped user and script fields

    PHP-FPM status endpoint XSS via unescaped user and script fields. The PHP-FPM full status output includes the request method, authentication user and script filename of each worker without escaping them for the HTML, XML or JSON format. When the status endpoint is enabled, an unauthenticated remote attacker can store markup in a worker's scoreboard entry with an ordinary request, for example through the username of an HTTP Basic authentication header that the web server forwards to PHP-FPM, or through the script filename where the attacker can influence it. When a user views the full status page as HTML, the injected JavaScript runs in the o

    • Update to 8.4.28-r0
    Published Updated
  15. CVE-2026-109619

    Critical · CVSS 9.2EPSS 20.75%In KEVPublic exploitFix available

    RCE via stale global state

    PHP has various global state that temporarily points into request memory. In some scenarios, global state may not be correctly reset, or may be repopulated after being reset. The global state may then refer to request memory even after it has been freed. Subsequent requests may read or branch on this stale state before it is fully initialized. Multiple strategies can trigger this condition and produce remote code execution (RCE).

    • Update to 8.4.27-r0
    Published Updated
  16. CVE-2026-109618

    Critical · CVSS 9.2EPSS 45.08%In KEVPublic exploitFix available

    RCE via OOM corruption

    PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort handling of the request. Some contexts may not properly account for this scenario and leave request memory in an uninitialized state before performing an allocation. The subsequent request cleanup procedure may read or branch on this memory. Multiple OOM strategies can consistently trigger this condition and lead to remote code execution (RCE).

    • Update to 8.4.27-r0
    Published Updated
  17. CVE-2026-92842

    Medium · CVSS 5.9EPSS 0.34%Fix available

    OOB read / info leak in convert.* stream filters when line-break-chars contains NUL

    The convert.base64-encode, convert.quoted-printable-encode and convert.quoted-printable-decode stream filters accept a line-break-chars option whose length is tracked separately from the string itself. The filter constructors duplicate the value with pestrdup(), which stops at the first NUL byte, while keeping the original length. When the filter later emits a line break it copies the recorded length out of the truncated allocation, reading past its end and placing adjacent heap bytes into the filter output.

    • Update to 8.4.26-r0
    Published Updated
  18. CVE-2026-91768

    Medium · CVSS 6.5EPSS 0.52%Fix available

    IPv6 ACL bypass in FastCGI listen.allowed_clients due to partial address comparison (memcmp 12 bytes)

    The IPv6 branch of the FastCGI client access check compares only the first 12 bytes of a 16-byte IPv6 address, so listen.allowed_clients matches on a /96 prefix instead of the exact address. An attacker who can source an address sharing the first 96 bits with an allowed one passes the check and reaches the FastCGI endpoint.

    • Update to 8.4.26-r0
    Published Updated
  19. CVE-2026-91769

    Medium · CVSS 4.3EPSS 0.14%Fix available

    TLS Hostname Verification Falls Back to CN After SAN Mismatch

    PHP's OpenSSL stream peer verification checks the certificate's subjectAltName entries first and, whenever no entry matches, falls back to the Common Name. RFC 6125 requires the CN to be ignored once the certificate presents any service identity, so a certificate carrying a non-matching DNS SAN was still accepted when its CN matched the requested peer_name. A certificate trusted by the client for one name can therefore be used to impersonate another.

    • Update to 8.4.26-r0
    Published Updated
  20. CVE-2026-91767

    Medium · CVSS 6.5EPSS 0.15%Fix available

    Heap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard CN

    php_openssl_matches_wildcard_name() in ext/openssl/xp_ssl.c underflows the length argument passed to memchr() when a TLS server certificate presents a wildcard name whose literal characters are together longer than the hostname being verified. A malicious server presenting such a certificate makes the PHP client read up to SIZE_MAX bytes past the end of a heap allocation. The path is reachable from any default client stream, because verify_peer_name is enabled by default.

    • Update to 8.4.26-r0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →