Skip to content
OpenAdvisories
High USN-8936-1 10 CVEs

php8.5, php8.3, php8.1, php7.4, php7.2, php7.0, php5 vulnerabilities

Published Oct 19, 2026 · Updated Oct 28, 2026

Summary

It was discovered that PHP did not properly validate the size of MySQL
server packets in the mysqlnd driver. A malicious server could possibly use
this issue to cause PHP to crash, resulting in a denial of service. This
issue was only addressed in Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu
24.04 LTS, Ubuntu 26.04 LTS, and Ubuntu 26.10. (CVE-2025-1218)

It was discovered that PHP incorrectly handled response buffer sizes in the
SOAP HTTP client. A malicious server could possibly use this issue to cause
PHP to crash, resulting in a denial of service, or execute arbitrary code.
(CVE-2025-14181)

It was discovered that PHP incorrectly handled certain TAR archive headers
in the Phar extension. An attacker could possibly use this issue to inject
arbitrary files into a crafted archive. (CVE-2026-6103)

It was discovered that PHP did not limit recursion depth when parsing
certain SOAP requests. A remote attacker could possibly use this issue to
cause PHP to crash, resulting in a denial of service. (CVE-2026-91765)

It was discovered that PHP incorrectly handled authentication headers when
following HTTP redirects. A remote attacker could possibly use this issue
to obtain sensitive information. (CVE-2026-91766)

It was discovered that PHP incorrectly handled wildcard names in TLS server
certificates. A malicious server could possibly use this issue to cause PHP
to crash, resulting in a denial of service. This issue did not affect
Ubuntu 14.04 LTS. (CVE-2026-91767)

It was discovered that PHP incorrectly validated IPv6 client addresses in
the FastCGI client access check. A remote attacker could possibly use this
issue to bypass access restrictions. This issue did not affect Ubuntu 14.04
LTS. (CVE-2026-91768)

It was discovered that PHP incorrectly performed TLS peer name
verification. A remote attacker could possibly use this issue to
impersonate a trusted server. (CVE-2026-91769)

It was discovered that PHP incorrectly handled certain stream filter
options. An attacker could possibly use this issue to obtain sensitive
information. (CVE-2026-92842)

It was discovered that PHP incorrectly handled empty Location headers when
following HTTP redirects. A malicious server could possibly use this issue
to redirect the client to an unintended location. This issue did not affect
Ubuntu 14.04 LTS. (CVE-2026-93682)

Fixed packages 8

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS php8.1 8.1.2-1ubuntu2.27
Ubuntu · 24.04 LTS 24.04:LTS php8.3 8.3.6-0ubuntu0.24.04.12
Ubuntu · 26.04 LTS 26.04:LTS php8.5 8.5.4-0ubuntu1.4
Ubuntu · 26.10 php8.5 8.5.9-0ubuntu2
Ubuntu · Pro 14.04 LTS Pro:14.04:LTS php5 5.5.9+dfsg-1ubuntu4.29+esm17
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS php7.0 7.0.33-0ubuntu0.16.04.16+esm21
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS php7.2 7.2.24-0ubuntu0.18.04.17+esm13
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS php7.4 7.4.3-4ubuntu2.29+esm4

Vulnerabilities 10

  • High 7.5

    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 …

  • Medium 6.5

    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…

  • Medium 6.5

    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 ser…

  • Medium 6.5

    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…

  • Medium 5.9

    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 …

  • Medium 5.9

    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…

  • Medium 5.8

    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 …

  • Medium 4.3

    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 da…

  • Medium 4.3

    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 certifi…

  • Low 3.4

    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 buff…

References

  • report
    https://ubuntu.com/security/CVE-2025-1218
  • report
    https://ubuntu.com/security/CVE-2025-14181
  • report
    https://ubuntu.com/security/CVE-2026-6103
  • report
    https://ubuntu.com/security/CVE-2026-91765
  • report
    https://ubuntu.com/security/CVE-2026-91766
  • report
    https://ubuntu.com/security/CVE-2026-91767
  • report
    https://ubuntu.com/security/CVE-2026-91768
  • report
    https://ubuntu.com/security/CVE-2026-91769
  • report
    https://ubuntu.com/security/CVE-2026-92842
  • report
    https://ubuntu.com/security/CVE-2026-93682