UBUNTU-CVE-2026-91767: Medium severity ubuntu/php7.0 vulnerability

Published Sep 25, 2026
·
Updated

phpopensslmatcheswildcardname() in ext/openssl/xpssl.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 server presenting such a certificate makes the PHP client read up to SIZEMAX bytes past the end of a heap allocation. The path is reachable from any default client stream, because verifypeername is enabled by default.

Affected Software

7 affected componentsFixes available
ubuntu/php7.0<7.0.33-0ubuntu0.16.04.16+esm21
7.0.33-0ubuntu0.16.04.16+esm21
ubuntu/php7.2<7.2.24-0ubuntu0.18.04.17+esm13
7.2.24-0ubuntu0.18.04.17+esm13
ubuntu/php7.4<7.4.3-4ubuntu2.29+esm4
7.4.3-4ubuntu2.29+esm4
ubuntu/php8.1<8.1.2-1ubuntu2.27
8.1.2-1ubuntu2.27
ubuntu/php8.3<8.3.6-0ubuntu0.24.04.12
8.3.6-0ubuntu0.24.04.12
ubuntu/php8.5<8.5.9-0ubuntu2
8.5.9-0ubuntu2
ubuntu/php8.5<8.5.4-0ubuntu1.4
8.5.4-0ubuntu1.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/php7.0 to a version that resolves this vulnerability.

    Fixed in 7.0.33-0ubuntu0.16.04.16+esm21
  2. Upgrade

    Upgrade ubuntu/php7.2 to a version that resolves this vulnerability.

    Fixed in 7.2.24-0ubuntu0.18.04.17+esm13
  3. Upgrade

    Upgrade ubuntu/php7.4 to a version that resolves this vulnerability.

    Fixed in 7.4.3-4ubuntu2.29+esm4
  4. Upgrade

    Upgrade ubuntu/php8.1 to a version that resolves this vulnerability.

    Fixed in 8.1.2-1ubuntu2.27
  5. Upgrade

    Upgrade ubuntu/php8.3 to a version that resolves this vulnerability.

    Fixed in 8.3.6-0ubuntu0.24.04.12
  6. Upgrade

    Upgrade ubuntu/php8.5 to a version that resolves this vulnerability.

    Fixed in 8.5.9-0ubuntu2
  7. Upgrade

    Upgrade ubuntu/php8.5 to a version that resolves this vulnerability.

    Fixed in 8.5.4-0ubuntu1.4

Event History

Sep 25, 2026
CVE Published
via OSV·09:17 PM
Data Sourced
via OSV·09:17 PM
DescriptionSeverityAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203