CNVD-2026-42450

Vulnerability from cnvd - Published: 2026-10-19
VLAI
Title
PHP缓冲区溢出漏洞
Description
PHP是一种广泛用于Web开发的开源服务器端脚本语言。 PHP存在缓冲区溢出漏洞,该漏洞源于ext/openssl/xp_ssl.c中的php_opensciipts_matches_wildcard_name()函数在处理TLS服务器证书通配符名称时,当字面字符总长度超过被验证主机名长度时,传递给memchr()的长度参数发生下溢所致,攻击者可利用该漏洞导致PHP客户端越界读取堆内存,造成敏感信息泄露。
Severity
高
Patch Name
PHP缓冲区溢出漏洞的补丁
Patch Description
PHP是一种广泛用于Web开发的开源服务器端脚本语言。 PHP存在缓冲区溢出漏洞,该漏洞源于ext/openssl/xp_ssl.c中的php_opensciipts_matches_wildcard_name()函数在处理TLS服务器证书通配符名称时,当字面字符总长度超过被验证主机名长度时,传递给memchr()的长度参数发生下溢所致,攻击者可利用该漏洞导致PHP客户端越界读取堆内存,造成敏感信息泄露。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

厂商已发布补丁修复漏洞,请广大用户及时下载更新: https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p

Reference
https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p
Impacted products
Name
['PHP Group PHP >=8.2.*,< 8.2.34', 'PHP Group PHP >=8.3.*,< 8.3.35', 'PHP Group PHP >=8.4.*,< 8.4.26', 'PHP Group PHP >=8.5.*,< 8.5.11']
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2026-91767",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2026-91767"
    }
  },
  "description": "PHP\u662f\u4e00\u79cd\u5e7f\u6cdb\u7528\u4e8eWeb\u5f00\u53d1\u7684\u5f00\u6e90\u670d\u52a1\u5668\u7aef\u811a\u672c\u8bed\u8a00\u3002\n\nPHP\u5b58\u5728\u7f13\u51b2\u533a\u6ea2\u51fa\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8eext/openssl/xp_ssl.c\u4e2d\u7684php_opensciipts_matches_wildcard_name()\u51fd\u6570\u5728\u5904\u7406TLS\u670d\u52a1\u5668\u8bc1\u4e66\u901a\u914d\u7b26\u540d\u79f0\u65f6\uff0c\u5f53\u5b57\u9762\u5b57\u7b26\u603b\u957f\u5ea6\u8d85\u8fc7\u88ab\u9a8c\u8bc1\u4e3b\u673a\u540d\u957f\u5ea6\u65f6\uff0c\u4f20\u9012\u7ed9memchr()\u7684\u957f\u5ea6\u53c2\u6570\u53d1\u751f\u4e0b\u6ea2\u6240\u81f4\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u5bfc\u81f4PHP\u5ba2\u6237\u7aef\u8d8a\u754c\u8bfb\u53d6\u5806\u5185\u5b58\uff0c\u9020\u6210\u654f\u611f\u4fe1\u606f\u6cc4\u9732\u3002",
  "formalWay": "\u5382\u5546\u5df2\u53d1\u5e03\u8865\u4e01\u4fee\u590d\u6f0f\u6d1e\uff0c\u8bf7\u5e7f\u5927\u7528\u6237\u53ca\u65f6\u4e0b\u8f7d\u66f4\u65b0\uff1a\r\nhttps://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2026-42450",
  "openTime": "2026-10-19",
  "patchDescription": "PHP\u662f\u4e00\u79cd\u5e7f\u6cdb\u7528\u4e8eWeb\u5f00\u53d1\u7684\u5f00\u6e90\u670d\u52a1\u5668\u7aef\u811a\u672c\u8bed\u8a00\u3002\r\n\r\nPHP\u5b58\u5728\u7f13\u51b2\u533a\u6ea2\u51fa\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8eext/openssl/xp_ssl.c\u4e2d\u7684php_opensciipts_matches_wildcard_name()\u51fd\u6570\u5728\u5904\u7406TLS\u670d\u52a1\u5668\u8bc1\u4e66\u901a\u914d\u7b26\u540d\u79f0\u65f6\uff0c\u5f53\u5b57\u9762\u5b57\u7b26\u603b\u957f\u5ea6\u8d85\u8fc7\u88ab\u9a8c\u8bc1\u4e3b\u673a\u540d\u957f\u5ea6\u65f6\uff0c\u4f20\u9012\u7ed9memchr()\u7684\u957f\u5ea6\u53c2\u6570\u53d1\u751f\u4e0b\u6ea2\u6240\u81f4\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u5bfc\u81f4PHP\u5ba2\u6237\u7aef\u8d8a\u754c\u8bfb\u53d6\u5806\u5185\u5b58\uff0c\u9020\u6210\u654f\u611f\u4fe1\u606f\u6cc4\u9732\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
  "patchName": "PHP\u7f13\u51b2\u533a\u6ea2\u51fa\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": [
      "PHP Group PHP \u003e=8.2.*\uff0c\u003c 8.2.34",
      "PHP Group PHP \u003e=8.3.*\uff0c\u003c 8.3.35",
      "PHP Group PHP \u003e=8.4.*\uff0c\u003c 8.4.26",
      "PHP Group PHP \u003e=8.5.*\uff0c\u003c 8.5.11"
    ]
  },
  "referenceLink": "https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p",
  "serverity": "\u9ad8",
  "submitTime": "2026-10-16",
  "title": "PHP\u7f13\u51b2\u533a\u6ea2\u51fa\u6f0f\u6d1e"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.