CNVD-2026-42449

Vulnerability from cnvd - Published: 2026-10-19
VLAI
Title
PHP数字错误漏洞
Description
PHP是一种广泛用于Web开发的开源服务器端脚本语言。 PHP存在数字错误漏洞,该漏洞源于phar_tar_number()函数在解析TAR标头的八进制大小字段时未对uint32_t进行溢出检查,大小超过0xFFFFFFFF会发生回绕,导致解析器跳过错误的数据块数量并将攻击者控制的文件内容当作下一个TAR标头,攻击者可利用该漏洞注入特制归档条目并被PharData报告和提取为真实条目。
Severity
低
Patch Name
PHP数字错误漏洞的补丁
Patch Description
PHP是一种广泛用于Web开发的开源服务器端脚本语言。 PHP存在数字错误漏洞,该漏洞源于phar_tar_number()函数在解析TAR标头的八进制大小字段时未对uint32_t进行溢出检查,大小超过0xFFFFFFFF会发生回绕,导致解析器跳过错误的数据块数量并将攻击者控制的文件内容当作下一个TAR标头,攻击者可利用该漏洞注入特制归档条目并被PharData报告和提取为真实条目。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

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

Reference
https://github.com/php/php-src/security/advisories/GHSA-j3wh-g957-2m85
Impacted products
Name
['PHP Group PHP >=8.2.0,<8.2.34', 'PHP Group PHP \r\n>=8.3.0,<8.3.35', 'PHP Group PHP \r\n>=8.4.0,<8.4.26', 'PHP Group PHP \r\n>=8.5.0,<8.5.11']
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2026-6103",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2026-6103"
    }
  },
  "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\u6570\u5b57\u9519\u8bef\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8ephar_tar_number()\u51fd\u6570\u5728\u89e3\u6790TAR\u6807\u5934\u7684\u516b\u8fdb\u5236\u5927\u5c0f\u5b57\u6bb5\u65f6\u672a\u5bf9uint32_t\u8fdb\u884c\u6ea2\u51fa\u68c0\u67e5\uff0c\u5927\u5c0f\u8d85\u8fc70xFFFFFFFF\u4f1a\u53d1\u751f\u56de\u7ed5\uff0c\u5bfc\u81f4\u89e3\u6790\u5668\u8df3\u8fc7\u9519\u8bef\u7684\u6570\u636e\u5757\u6570\u91cf\u5e76\u5c06\u653b\u51fb\u8005\u63a7\u5236\u7684\u6587\u4ef6\u5185\u5bb9\u5f53\u4f5c\u4e0b\u4e00\u4e2aTAR\u6807\u5934\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6ce8\u5165\u7279\u5236\u5f52\u6863\u6761\u76ee\u5e76\u88abPharData\u62a5\u544a\u548c\u63d0\u53d6\u4e3a\u771f\u5b9e\u6761\u76ee\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-j3wh-g957-2m85",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2026-42449",
  "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\u6570\u5b57\u9519\u8bef\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8ephar_tar_number()\u51fd\u6570\u5728\u89e3\u6790TAR\u6807\u5934\u7684\u516b\u8fdb\u5236\u5927\u5c0f\u5b57\u6bb5\u65f6\u672a\u5bf9uint32_t\u8fdb\u884c\u6ea2\u51fa\u68c0\u67e5\uff0c\u5927\u5c0f\u8d85\u8fc70xFFFFFFFF\u4f1a\u53d1\u751f\u56de\u7ed5\uff0c\u5bfc\u81f4\u89e3\u6790\u5668\u8df3\u8fc7\u9519\u8bef\u7684\u6570\u636e\u5757\u6570\u91cf\u5e76\u5c06\u653b\u51fb\u8005\u63a7\u5236\u7684\u6587\u4ef6\u5185\u5bb9\u5f53\u4f5c\u4e0b\u4e00\u4e2aTAR\u6807\u5934\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6ce8\u5165\u7279\u5236\u5f52\u6863\u6761\u76ee\u5e76\u88abPharData\u62a5\u544a\u548c\u63d0\u53d6\u4e3a\u771f\u5b9e\u6761\u76ee\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\u6570\u5b57\u9519\u8bef\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": [
      "PHP Group PHP \u003e=8.2.0\uff0c\u003c8.2.34",
      "PHP Group PHP \r\n\u003e=8.3.0\uff0c\u003c8.3.35",
      "PHP Group PHP \r\n\u003e=8.4.0\uff0c\u003c8.4.26",
      "PHP Group PHP \r\n\u003e=8.5.0\uff0c\u003c8.5.11"
    ]
  },
  "referenceLink": "https://github.com/php/php-src/security/advisories/GHSA-j3wh-g957-2m85",
  "serverity": "\u4f4e",
  "submitTime": "2026-10-16",
  "title": "PHP\u6570\u5b57\u9519\u8bef\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.