p PatchFirst

PatchFirst · Latest vulnerabilities

php7.2 vulnerabilities · Page 2

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

Filter vulnerabilities
Clear filters

Vulnerabilities: 47

  1. CVE-2025-14179

    High · CVSS 7.4EPSS 0.44%No fix published

    SQL injection in pdo_firebird via NUL bytes in quoted strings

    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, the PDO Firebird driver improperly handles NUL bytes when preparing SQL queries. During token-by-token query construction, a string token containing a NUL byte is copied via strncat(), which stops at the NUL byte, dropping the closing quote and causing subsequent SQL tokens to be interpreted as part of the string. This allows SQL injection when attacker-controlled values are quoted via PDO::quote() and embedded in SQL statements.

    Published Updated
  2. CVE-2026-7568

    Medium · CVSS 6.3EPSS 0.46%No fix published

    Signed integer overflow in metaphone()

    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, the metaphone() function in ext/standard/metaphone.c uses a signed int variable to track the current position within the input string. If a string longer than 2,147,483,647 bytes is passed, a signed integer overflow occurs, resulting in undefined behavior. This can lead to an out-of-bounds read, causing a segmentation fault or access to unrelated memory, and may affect the availability of the PHP process.

    Published Updated
  3. CVE-2026-6735

    High · CVSS 7.3EPSS 0.19%No fix published

    XSS within PHP-FPM status endpoint

    In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, 8.5.* before 8.5.6, due to improper sanitation of user data, it allows an attacker to compose an URL, which will cause the target to execute arbitrary JavaScript code (XSS) on the target's machine when the target is viewing the PHP-FPM status page.

    Published Updated
  4. CVE-2025-14178

    Medium · CVSS 6.5EPSS 0.46%Fix available

    Heap buffer overflow in array_merge()

    In PHP versions:8.1.* before 8.1.34, 8.2.* before 8.2.30, 8.3.* before 8.3.29, 8.4.* before 8.4.16, 8.5.* before 8.5.1, a heap buffer overflow occurs in array_merge() when the total element count of packed arrays exceeds 32-bit limits or HT_MAX_SIZE, due to an integer overflow in the precomputation of element counts using zend_hash_num_elements(). This may lead to memory corruption or crashes and affect the integrity and availability of the target server.

    • Update to 7.2.24-0ubuntu0.18.04.17+esm12
    Published Updated
  5. CVE-2025-1735

    Medium · CVSS 5.9EPSS 1.16%Fix available

    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.

    • Update to 7.2.24-0ubuntu0.18.04.17+esm9
    Published Updated
  6. CVE-2025-1220

    Low · CVSS 3.7EPSS 0.75%Fix available

    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.

    • Update to 7.2.24-0ubuntu0.18.04.17+esm9
    Published Updated
  7. CVE-2025-6491

    Medium · CVSS 5.9EPSS 1.12%Fix available

    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.

    • Update to 7.2.24-0ubuntu0.18.04.17+esm9
    Published Updated
  8. 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
  9. 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.2.24-0ubuntu0.18.04.17+esm8
    Published Updated
  10. CVE-2025-1736

    Medium · CVSS 6.3EPSS 0.55%Fix available

    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.

    • Update to 7.2.24-0ubuntu0.18.04.17+esm8
    Published Updated
  11. 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.2.24-0ubuntu0.18.04.17+esm8
    Published Updated
  12. 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.2.24-0ubuntu0.18.04.17+esm8
    Published Updated
  13. 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
  14. 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
  15. 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.2.24-0ubuntu0.18.04.17+esm7
    Published Updated
  16. 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
  17. 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.2.24-0ubuntu0.18.04.17+esm6
    Published Updated
  18. 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.2.24-0ubuntu0.18.04.17+esm6
    Published Updated
  19. 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.2.24-0ubuntu0.18.04.17+esm5
    Published Updated

Check your server

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

Check your server →