Security mailing lists by PureSourceCode

CVE-2026-91767

MEDIUM 6.5CVSS 3.1

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.

Published
25 Sep 2026
Last modified
27 Oct 2026
Assigned by
security@php.net
NVD status
Analyzed
Weakness
CWE-122
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@php.net (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.2.0, < 8.2.34 8.2.34
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.3.0, < 8.3.35 8.3.35
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.4.0, < 8.4.26 8.4.26
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.5.0, < 8.5.11 8.5.11

References

History

  • 25 Nov 2026 21:21 UTC · NVD: first stored (published 25 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.