CVE-2025-55286 (CNNVD-202508-1891)
中文标题:
z2d 安全漏洞
英文标题:
z2d OOB drawing with new multi-sample anti-aliasing could lead to invalid memory access and corruption
漏洞描述
中文描述:
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类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| vancluever | z2d | = 0.7.0 | - | - |
cpe:2.3:a:vancluever:z2d:=_0.7.0:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
4.0 (cna)
HIGHCVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
时间信息
利用信息
数据源详情
| 数据源 | 记录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 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202508-1891
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']