p PatchFirst

PatchFirst · Latest vulnerabilities

php7.4 vulnerabilities

Vulnerabilities published for php7.4 in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 46

  1. CVE-2024-11235

    Critical · CVSS 9.2EPSS 1.48%Fix available

    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.

    • Update to 7.4.3-4ubuntu2.29
    Published Updated
  2. CVE-2025-1861

    Medium · CVSS 6.3EPSS 0.86%Fix available

    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.

    • Update to 7.4.3-4ubuntu2.29
    Published Updated
  3. CVE-2025-1734

    Medium · CVSS 6.3EPSS 0.5%Fix available

    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.

    • Update to 7.4.3-4ubuntu2.29
    Published Updated
  4. CVE-2025-1217

    Medium · CVSS 6.3EPSS 0.58%Fix available

    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.

    • Update to 7.4.3-4ubuntu2.29
    Published Updated
  5. CVE-2022-31631

    Critical · CVSS 9.1EPSS 2.19%Fix available

    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.

    • Update to 7.4.3-4ubuntu2.17
    Published Updated
  6. CVE-2024-11233

    Medium · CVSS 4.8EPSS 1.61%Fix available

    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.

    • Update to 7.4.3-4ubuntu2.26
    Published Updated
  7. CVE-2024-11234

    Medium · CVSS 4.8EPSS 1.11%Fix available

    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.

    • Update to 7.4.3-4ubuntu2.26
    Published Updated
  8. CVE-2024-11236

    Critical · CVSS 9.8EPSS 2.07%Fix available

    Integer overflow in the firebird and dblib quoters causing OOB writes

    In PHP versions 8.1.* before 8.1.31, 8.2.* before 8.2.26, 8.3.* before 8.3.14, uncontrolled long string inputs to ldap_escape() function on 32-bit systems can cause an integer overflow, resulting in an out-of-bounds write.

    • Update to 7.4.3-4ubuntu2.26
    Published Updated
  9. CVE-2024-8929

    Medium · CVSS 5.8EPSS 2.24%Fix available

    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.

    • Update to 7.4.3-4ubuntu2.26
    Published Updated
  10. 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 7.4.3-4ubuntu2.24
    Published Updated
  11. 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 7.4.3-4ubuntu2.24
    Published Updated
  12. CVE-2024-5458

    Medium · CVSS 5.3EPSS 12.12%Fix available

    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.

    • Update to 7.4.3-4ubuntu2.23
    Published Updated
  13. CVE-2024-3096

    Medium · CVSS 6.5EPSS 1.49%Fix available

    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.

    • Update to 7.4.3-4ubuntu2.22
    Published Updated
  14. CVE-2024-2756

    Medium · CVSS 6.5EPSS 38.12%Fix available

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

    • Update to 7.4.3-4ubuntu2.22
    Published Updated
  15. CVE-2023-3824

    Critical · CVSS 9.4EPSS 21.79%Fix available

    Buffer overflow and overread in phar_dir_read()

    In PHP version 8.0.* before 8.0.30,  8.1.* before 8.1.22, and 8.2.* before 8.2.8, when loading phar file, while reading PHAR directory entries, insufficient length checking may lead to a stack buffer overflow, leading potentially to memory corruption or RCE.

    • Update to 7.4.3-4ubuntu2.20
    Published Updated
  16. CVE-2023-3823

    High · CVSS 8.6EPSS 1.64%Fix available

    Security issue with external entity loading in XML without enabling it

    In PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions rely on libxml global state to track configuration variables, like whether external entities are loaded. This state is assumed to be unchanged unless the user explicitly changes it by calling appropriate function. However, since the state is process-global, other modules - such as ImageMagick - may also use this library within the same process, and change that global state for their internal purposes, and leave it in a state where external entities loading is enabled. This can lead to the situation where external XML is parsed with external

    • Update to 7.4.3-4ubuntu2.20
    Published Updated
  17. CVE-2023-3247

    Low · CVSS 2.6EPSS 0.71%Fix available

    Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP

    In PHP versions 8.0.* before 8.0.29, 8.1.* before 8.1.20, 8.2.* before 8.2.7 when using SOAP HTTP Digest Authentication, random value generator was not checked for failure, and was using narrower range of values than it should have. In case of random generator failure, it could lead to a disclosure of 31 bits of uninitialized memory from the client to the server, and it also made easier to a malicious server to guess the client's nonce. 

    • Update to 7.4.3-4ubuntu2.19
    Published Updated
  18. CVE-2023-0568

    High · CVSS 7.5EPSS 1.24%Fix available

    Array overrun in common path resolve code

    In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, core path resolution function allocate buffer one byte too small. When resolving paths with lengths close to system MAXPATHLEN setting, this may lead to the byte after the allocated buffer being overwritten with NUL value, which might lead to unauthorized data access or modification.

    • Update to 7.4.3-4ubuntu2.18
    Published Updated

Check your server

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

Check your server →