CVE-2026-91767

Source
https://cve.org/CVERecord?id=CVE-2026-91767
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-91767.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-91767
Aliases
Downstream
ALPINE (1)
ALSA (1)
AZL (1)
BELL (1)
CLEANSTART (1)
CLSA (3)
DEBIAN (1)
ECHO (1)
MGASA (1)
MINI (8)
OESA (4)
openSUSE (2)
RHSA (1)
RLSA (1)
SUSE (5)
UBUNTU (1)
Related
Published
2026-09-25T20:53:42Z
Modified
2026-11-11T02:55:52Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Heap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard CN
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.

Database specific
{
    "cna_assigner": "php",
    "cwe_ids": [
        "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91767.json"
}
References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "8.2.0"
                },
                {
                    "fixed": "8.2.34"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "8.3.0"
                },
                {
                    "fixed": "8.3.35"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "8.4.0"
                },
                {
                    "fixed": "8.4.26"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "8.5.0"
                },
                {
                    "fixed": "8.5.11"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-91767.json"