{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "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"
              }
            ]
          },
          "events": [
            {
              "introduced": "70ee6c20ad97e02c2b8098aeea96fefbbc3ac5c2"
            },
            {
              "fixed": "0be211a0cf752780881a9611224f8adc516af573"
            },
            {
              "introduced": "d26068059e83fe40de3430a512471d194119bee0"
            },
            {
              "fixed": "2d3433d24d59f45703be2b4fb40d74e5a41b136b"
            },
            {
              "introduced": "b437f2b32eb364c9496d24abcc734272e5c9c980"
            },
            {
              "fixed": "c31ae58ecbedc7a85dac0eee5a6a88da73543e70"
            },
            {
              "introduced": "685e99655ae97c667950f7f7d176985958718f56"
            },
            {
              "fixed": "678778973bb4d4185c06ef1320de50f1a975d3c8"
            }
          ],
          "repo": "https://github.com/php/php-src",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-xr7j-rvgx-xq5p"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-91767",
  "modified": "2026-11-11T02:30:57.218858468Z",
  "published": "2026-09-25T20:53:42.587Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91767.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-91767"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Heap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard CN"
}