Advisory

UBUNTU-CVE-2026-91767

Also known as: CVE-2026-91767

Summary

The record has no summary.

Details

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 server presenting such a certificate makes the PHP client read up to SIZE_MAX bytes past the end of a heap allocation. The path is reachable from any default client stream, because verify_peer_name is enabled by default.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-09-25 21:17 UTC
Modified
2026-10-28 20:17 UTC

Affected packages and fixes

php8.1

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 8.1.2-1ubuntu2.27 (ecosystem)

Fixed versions

8.1.2-1ubuntu2.27

Fix

  • Fixed version 8.1.2-1ubuntu2.27
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php8.3

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 8.3.6-0ubuntu0.24.04.12 (ecosystem)

Fixed versions

8.3.6-0ubuntu0.24.04.12

Fix

  • Fixed version 8.3.6-0ubuntu0.24.04.12
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php8.5

Debian packages (deb) · Ubuntu 26.10

Affected

  • introduced 0, fixed 8.5.9-0ubuntu2 (ecosystem)

Fixed versions

8.5.9-0ubuntu2

Fix

  • Fixed version 8.5.9-0ubuntu2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php8.5

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 8.5.4-0ubuntu1.4 (ecosystem)

Fixed versions

8.5.4-0ubuntu1.4

Fix

  • Fixed version 8.5.4-0ubuntu1.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences