p PatchFirst

PatchFirst · Latest vulnerabilities

php5 vulnerabilities · Page 2

Vulnerabilities published for php5 in the last 30 days: 2. Listed in the KEV catalogue: 2.

Filter vulnerabilities
Clear filters

Vulnerabilities: 96

  1. CVE-2025-1735

    Medium · CVSS 5.9EPSS 1.16%No fix published

    pgsql extension does not check for errors during escaping

    In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* pgsql and pdo_pgsql escaping functions do not check if the underlying quoting functions returned errors. This could cause crashes if Postgres server rejects the string as invalid.

    Published Updated
  2. CVE-2025-1220

    Low · CVSS 3.7EPSS 0.75%No fix published

    Null byte termination in hostnames

    In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* before 8.4.10 some functions like fsockopen() lack validation that the hostname supplied does not contain null characters. This may lead to other functions like parse_url() treat the hostname in different way, thus opening way to security problems if the user code implements access checks before access using such functions.

    Published Updated
  3. CVE-2025-6491

    Medium · CVSS 5.9EPSS 1.12%No fix published

    NULL Pointer Dereference in PHP SOAP Extension via Large XML Namespace Prefix

    In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* before 8.4.10 when parsing XML data in SOAP extensions, overly large (>2Gb) XML namespace prefix may lead to null pointer dereference. This may lead to crashes and affect the availability of the target server.

    Published Updated
  4. CVE-2024-11235

    Critical · CVSS 9.2EPSS 1.48%No fix published

    Reference counting in php_request_shutdown causes Use-After-Free

    In PHP versions 8.3.* before 8.3.19 and 8.4.* before 8.4.5, a code sequence involving __set handler or ??=  operator and exceptions can lead to a use-after-free vulnerability. If the third party can control the memory layout leading to this, for example by supplying specially crafted inputs to the script, it could lead to remote code execution.

    Published Updated
  5. CVE-2025-1861

    Medium · CVSS 6.3EPSS 0.86%No fix published

    Stream HTTP wrapper truncates redirect location to 1024 bytes

    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.

    Published Updated
  6. CVE-2025-1736

    Medium · CVSS 6.3EPSS 0.55%No fix published

    Stream HTTP wrapper header check might omit basic auth header

    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.

    Published Updated
  7. CVE-2025-1734

    Medium · CVSS 6.3EPSS 0.5%No fix published

    Streams HTTP wrapper does not fail for headers with invalid name and no colon

    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 receiving headers from HTTP server, the headers missing a colon (:) are treated as valid headers even though they are not. This may confuse applications into accepting invalid headers.

    Published Updated
  8. CVE-2025-1217

    Medium · CVSS 6.3EPSS 0.58%No fix published

    Header parser of http stream wrapper does not handle folded headers

    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 http request module parses HTTP response obtained from a server, folded headers are parsed incorrectly, which may lead to misinterpreting the response and using incorrect headers, MIME types, etc.

    Published Updated
  9. CVE-2022-31631

    Critical · CVSS 9.1EPSS 2.19%No fix published

    PDO::quote() may return unquoted string

    In PHP versions 8.0.* before 8.0.27, 8.1.* before 8.1.15, 8.2.* before 8.2.2 when using PDO::quote() function to quote user-supplied data for SQLite, supplying an overly long string may cause the driver to incorrectly quote the data, which may further lead to SQL injection vulnerabilities.

    Published Updated
  10. CVE-2024-11233

    Medium · CVSS 4.8EPSS 1.61%No fix published

    Single byte overread with convert.quoted-printable-decode filter

    In PHP versions 8.1.* before 8.1.31, 8.2.* before 8.2.26, 8.3.* before 8.3.14, due to an error in convert.quoted-printable-decode filter certain data can lead to buffer overread by one byte, which can in certain circumstances lead to crashes or disclose content of other memory areas.

    Published Updated
  11. CVE-2024-11234

    Medium · CVSS 4.8EPSS 1.11%No fix published

    Configuring a proxy in a stream context might allow for CRLF injection in URIs

    In PHP versions 8.1.* before 8.1.31, 8.2.* before 8.2.26, 8.3.* before 8.3.14, when using streams with configured proxy and "request_fulluri" option, the URI is not properly sanitized which can lead to HTTP request smuggling and allow the attacker to use the proxy to perform arbitrary HTTP requests originating from the server, thus potentially gaining access to resources not normally available to the external user.

    Published Updated
  12. CVE-2024-8929

    Medium · CVSS 5.8EPSS 2.24%No fix published

    Leak partial content of the heap through heap buffer over-read in mysqlnd

    In PHP versions 8.1.* before 8.1.31, 8.2.* before 8.2.26, 8.3.* before 8.3.14, a hostile MySQL server can cause the client to disclose the content of its heap containing data from other SQL requests and possible other data belonging to different users of the same server.

    Published Updated
  13. CVE-2024-8927

    High · CVSS 7.5EPSS 1.05%Fix available

    cgi.force_redirect configuration is bypassable due to the environment variable collision

    In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is being run by the HTTP server. However, in certain scenarios, the content of this variable can be controlled by the request submitter via HTTP headers, which can lead to cgi.force_redirect option not being correctly applied. In certain configurations this may lead to arbitrary file inclusion in PHP.

    • Update to 5.5.9+dfsg-1ubuntu4.29+esm16
    Published Updated
  14. CVE-2024-8925

    Low · CVSS 3.1EPSS 0.94%Fix available

    Erroneous parsing of multipart form data

    In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, erroneous parsing of multipart form data contained in an HTTP POST request could lead to legitimate data not being processed. This could lead to malicious attacker able to control part of the submitted data being able to exclude portion of other data, potentially leading to erroneous application behavior.

    • Update to 5.5.9+dfsg-1ubuntu4.29+esm16
    Published Updated
  15. CVE-2024-2408

    Medium · CVSS 5.9EPSS 1.16%No fix published

    PHP is vulnerable to the Marvin Attack

    The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. All distributors and builders should ensure that this version is used to prevent PHP from being vulnerable. PHP Windows builds f

    Published Updated
  16. CVE-2024-5458

    Medium · CVSS 5.3EPSS 12.12%No fix published

    Filter bypass in filter_var (FILTER_VALIDATE_URL)

    In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user information (username + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly.

    Published Updated
  17. CVE-2024-3096

    Medium · CVSS 6.5EPSS 1.49%No fix published

    PHP function password_verify can erroneously return true when argument contains NUL

    In PHP  version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing a blank string as the password via password_verify() will incorrectly return true.

    Published Updated
  18. CVE-2024-2756

    Medium · CVSS 6.5EPSS 38.12%No fix published

    __Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix

    Due to an incomplete fix to CVE-2022-31629 https://github.com/advisories/GHSA-c43m-486j-j32p , network and same-site attackers can set a standard insecure cookie in the victim's browser which is treated as a __Host- or __Secure- cookie by PHP applications.

    Published Updated

Check your server

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

Check your server →