p PatchFirst

PatchFirst · Latest vulnerabilities

php85 vulnerabilities · Page 2

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

Filter vulnerabilities
Clear filters

Vulnerabilities: 47

  1. CVE-2025-1218

    Low · CVSS 3.4EPSS 0.36%Fix available

    Various packet overreads in mysqlnd_writeprotocol.c

    The mysqlnd wire protocol parser reads fields out of server packets before checking that the packet still holds enough bytes for them. A malicious or compromised MySQL server can send a truncated packet and make the client read past the end of the packet buffer, which is undefined behaviour and can crash the process.

    • Update to 8.5.11-r0
    Published Updated
  2. CVE-2026-91766

    Medium · CVSS 5.9EPSS 0.33%Fix available

    Cross-origin credential leak in HTTP stream wrapper redirects

    When the http:// stream wrapper follows a redirect it forwards the user-supplied Authorization, Cookie and Proxy-Authorization headers unchanged, even when the redirect target is a different host, a different port, or a downgrade from HTTPS to HTTP. A server that can steer a redirect therefore receives credentials that were only meant for the original origin. This is the same class of issue that libcurl fixed in 7.58.0 ( CVE-2018-1000007 https://github.com/advisories/GHSA-g7x2-hrfp-pv5f ).

    • Update to 8.5.11-r0
    Published Updated
  3. CVE-2026-91765

    High · CVSS 7.5EPSS 0.39%Public exploitFix available

    SOAP: Unbounded Recursion in Server-Side cleanup_xml_node

    cleanup_xml_node() in the SOAP XML parser recurses once per XML nesting level with no depth limit. An unauthenticated attacker can post a SOAP request containing tens of thousands of nested elements to any SoapServer endpoint, exhaust the stack and crash the process. The same unbounded recursion exists in the SOAP value decoder and in the WSDL node search helper.

    • Update to 8.5.11-r0
    Published Updated
  4. CVE-2025-14181

    Medium · CVSS 6.5EPSS 0.32%Fix available

    Integer overflow to buffer overflow in soap HTTP parsing

    The SOAP HTTP client guards its response buffer growth with a check that relies on signed integer overflow, which is undefined behaviour and is not guaranteed to trigger. When the check is optimised away, a malicious SOAP server can make the client allocate a buffer far smaller than the data it then writes into it, producing a heap buffer overflow.

    • Update to 8.5.11-r0
    Published Updated
  5. CVE-2026-6103

    Medium · CVSS 4.3EPSS 0.14%Fix available

    Phar TAR phar_tar_number() Integer Overflow - Archive Entry Injection

    phar_tar_number() parses the octal size field of a TAR header into a uint32_t with no overflow check. The field is 11 octal digits wide and holds values up to 0x1FFFFFFFF, so a size above 0xFFFFFFFF silently wraps. The parser then skips the wrong number of data blocks and interprets attacker-controlled file content as the next TAR header, which lets a crafted archive inject entries that PharData reports and extracts as if they were genuine.

    • Update to 8.5.11-r0
    Published Updated
  6. CVE-2026-93682

    Medium · CVSS 5.8EPSS 0.36%Fix available

    Out-of-bounds read in the HTTP stream wrapper when following a redirect with an empty Location header

    When the HTTP stream wrapper follows a redirect and the response carries a Location header with an empty value, the redirect code reads one byte past the end of the heap buffer holding the location. The value of that out-of-bounds byte decides which redirect target is built, so a malicious server controls whether the client is sent to the host root or to the current directory.

    • Update to 8.5.11-r0
    Published Updated
  7. CVE-2026-7260

    Medium · CVSS 5.4EPSS 0.15%Fix available

    Stack overflow in phar with circular symlinks

    Circular symbolic links in phar archives could lead to unbounded recursion, exhausting the C stack and crashing the PHP process, 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.

    • Update to 8.5.9-r0
    Published Updated
  8. CVE-2026-17544

    High · CVSS 8.1EPSS 0.52%Fix available

    Out-of-bounds write in bccomp() via crafted operand and scale

    Attacker-provided inputs to bccomp() could lead to an out-of-bounds write with stack and heap corruption in PHP versions from 8.4.* before 8.4.24 and from 8.5.* before 8.5.9.

    • Update to 8.5.9-r0
    Published Updated
  9. CVE-2026-17543

    High · CVSS 8.1EPSS 0.34%Fix available

    SQL injection in ext-pgsql via E'...' backslash breakout

    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.

    • Update to 8.5.9-r0
    Published Updated
  10. CVE-2026-14355

    Medium · CVSS 5.6EPSS 0.31%Fix available

    ext/openssl: Memory corruption in openssl_encrypt with AES-WRAP-PAD

    In PHP versions 8.2.* before 8.2.32, 8.3.* before 8.3.32, 8.4.* before 8.4.23, 8.5.* before 8.5.8, the AES-WRAP-PAD algorithm implementation in OpenSSL extension contains a buffer allocation flaw. The output buffer for the AES key-wrap-with-padding operation is sized from the plaintext length without accounting for RFC 5649 expansion. This may cause OpenSSL to write beyond allocated memory, corrupting heap metadata and triggering application abort.

    • Update to 8.5.8-r0
    Published Updated
  11. CVE-2026-7263

    Medium · CVSS 6.3EPSS 0.63%Fix available

    DoS attack via DOMNode::C14N()

    In PHP versions 8.4.* before 8.4.21 and 8.5.* before 8.5.6, DOMNode::C14N() method may process the XML data incorrectly, causing a circular linked list in the data structure representing the XML document. This may cause subsequent processing of the XML document to enter infinite loop, causing denial of service in the processing application.

    • Update to 8.5.6-r0
    Published Updated
  12. CVE-2026-6104

    Medium · CVSS 6.3EPSS 0.6%Fix available

    Global buffer over-read in mb_convert_encoding() with attacker-supplied encoding

    In PHP versions 8.4.* before 8.4.21 and 8.5.* before 8.5.6, when an encoding name containing an embedded NUL byte is passed to mb_convert_encoding() or related mbstring functions, the code incorrectly assumes that when strncasecmp() returns 0 it means the strings have the same length. This can lead to out-of-bounds read of global memory, potentially causing a crash or information disclosure or crash. Affected functions include mb_convert_encoding(), mb_detect_encoding(), mb_convert_variables(), and mb_detect_order(), as well as the mbstring.detect_order and mbstring.http_output INI settings.

    • Update to 8.5.6-r0
    Published Updated
  13. CVE-2026-7258

    Medium · CVSS 6.3EPSS 0.4%Fix available

    Out-of-bounds read in urldecode() on NetBSD

    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, some functions, including urldecode(), pass signed char to ctype functions (like isxdigit()). On the systems with default signed char and optimized table-lookup ctype functions - such as NetBSD - this can lead to accessing array with negative offset, which can trigger a denial of service.

    • Update to 8.5.6-r0
    Published Updated
  14. CVE-2026-6722

    Critical · CVSS 9.5EPSS 1.12%Fix available

    Use-After-Free in SOAP using Apache map

    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 SOAP extension's object deduplication mechanism stores pointers to PHP objects in a global map without incrementing their reference counts. When an apache:Map node contains duplicate keys, processing the second entry overwrites the first in the temporary result map, freeing the original PHP object while its stale pointer remains in the map. A subsequent href reference to the freed node can copy the dangling pointer into the result. As PHP string allocations can reclaim the freed memory region, an attacker with control over the SOAP reque

    • Update to 8.5.6-r0
    Published Updated
  15. CVE-2026-7259

    Low · CVSS 2.1EPSS 0.34%Fix available

    Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()

    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, a mismatch between encoding lists in Oniguruma and mbfl leads to  a NULL pointer dereference, resulting in a segmentation fault and denial of service. The vulnerability is exploitable when user-controlled input can influence the encoding passed to mb_regex_encoding().

    • Update to 8.5.6-r0
    Published Updated
  16. CVE-2026-7261

    Medium · CVSS 6.3EPSS 0.39%Fix available

    SoapServer session-persisted object use-after-free via SOAP header fault

    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 SOAP_PERSISTENCE_SESSION, 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.

    • Update to 8.5.6-r0
    Published Updated
  17. CVE-2026-7262

    Low · CVSS 2.9EPSS 1.05%Fix available

    NULL pointer dereference in SOAP apache:Map decoder with missing <value>

    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 a SOAP server has a typemap configured, the decoding process contains a mistake which checks the wrong variable in case of missing value element.  This leads to dereferences a NULL pointer, causing a segmentation fault. This allows a remote unauthenticated attacker to crash the PHP SOAP server process, resulting in denial of service.

    • Update to 8.5.6-r0
    Published Updated
  18. CVE-2026-7568

    Medium · CVSS 6.3EPSS 0.84%Fix available

    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.

    • Update to 8.5.6-r0
    Published Updated
  19. CVE-2026-6735

    High · CVSS 7.3EPSS 0.24%Public exploitFix available

    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.

    • Update to 8.5.6-r0
    Published Updated

Check your server

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

Check your server →