CVE-2025-55286 (CNNVD-202508-1891)

HIGH
中文标题:
z2d 安全漏洞
英文标题:
z2d OOB drawing with new multi-sample anti-aliasing could lead to invalid memory access and corruption
CVSS分数: 7.3
发布时间: 2025-08-16 01:02:44
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

z2d是Chris Marchesi个人开发者的一个开源的纯 Zig 语言编写的 2D 图形库。 z2d 0.7.0版本存在安全漏洞,该漏洞源于覆盖缓冲区边界检查不当,可能导致越界访问或内存损坏。

英文描述:

z2d is a pure Zig 2D graphics library. z2d v0.7.0 released with a new multi-sample anti-aliasing (MSAA) method, which uses a new buffering mechanism for storing coverage data. This differs from the standard alpha mask surface used for the previous super-sample anti-aliasing (SSAA) method. Under certain circumstances where the path being drawn existed in whole or partly outside of the rendering surface, incorrect bounding could cause out-of-bounds access within the coverage buffer. This affects the higher-level drawing operations, such as Context.fill, Context.stroke, painter.fill, and painter.stroke, when either the .default or .multisample_4x anti-aliasing modes were used. .supersample_4x was not affected, nor was drawing without anti-aliasing. In non-safe optimization modes (consumers compiling with ReleaseFast or ReleaseSmall), this could potentially lead to invalid memory accesses or corruption. z2d v0.7.1 fixes this issue, and it's recommended to upgrade to v0.7.1, or, given the small period of time v0.7.0 has been released, use v0.7.1 immediately, skipping v0.7.0.

CWE类型:
CWE-119 CWE-122
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
vancluever z2d = 0.7.0 - - cpe:2.3:a:vancluever:z2d:=_0.7.0:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/vancluever/z2d/security/advisories/GHSA-2vq8-cp8r-vcf3 x_refsource_CONFIRM
cve.org
访问
https://github.com/vancluever/z2d/pull/137 x_refsource_MISC
cve.org
访问
https://github.com/vancluever/z2d/commit/93e45d36af53cda0d7f454ed8440713b7ac155b6 x_refsource_MISC
cve.org
访问
CVSS评分详情
4.0 (cna)
HIGH
7.3
CVSS向量: CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
机密性
HIGH
完整性
HIGH
可用性
HIGH
后续系统影响 (Subsequent):
机密性
HIGH
完整性
HIGH
可用性
HIGH
时间信息
发布时间:
2025-08-16 01:02:44
修改时间:
2025-08-18 14:01:27
创建时间:
2025-11-11 15:40:43
更新时间:
2025-11-11 16:00:05
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-55286 2025-11-11 15:23:29 2025-11-11 07:40:43
NVD nvd_CVE-2025-55286 2025-11-11 15:00:59 2025-11-11 07:48:30
CNNVD cnnvd_CNNVD-202508-1891 2025-11-11 15:12:54 2025-11-11 08:00:05
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:05
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202508-1891; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202508-1891
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:30
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']