目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-77652— Dia wpg解析器堆溢出漏洞

一分钟漏洞结论

影响对象
GNOME Dia
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

漏洞描述翻译: Dia 图形编辑器在处理 WPG 文件格式导入时存在一个基于堆的缓冲区溢出漏洞。 在 中,WPG 导入渲染器分配了一个固定大小的调色板: 当处理 记录时,解析器会从文件中读取起始索引( )和颜色数量( ),并通过以下代码读取调色板数据: 唯一的边界相关检查是 ,其中 是 WPG 记录的大小——而不是调色板的容量。没有验证 是否小于 256,也没有验证 是否不超过 256。 一个恶意的 WPG 文件可以提供 和 。这会导致 从 开始写入 792 字节(264 个颜色 × 3 字节/个),而调色板缓冲区

CVSS 7.8 · High

影响版本矩阵 1

厂商产品 版本范围状态
GNOME Dia ≤ 0.98+git20260221-1 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-77652 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Dia: dia: heap buffer overflow in wpg colormap parser via out-of-bounds palette index
来源: CVE Program / CVE List V5
Vulnerability Description
A heap-based buffer overflow vulnerability exists in the Dia diagram editor WPG file format importer. In plug-ins/wpg/wpg-import.c, the WPG import renderer allocates a fixed palette with: ren->pPal = g_new0(WPGColorRGB, 256); When handling a WPG_COLORMAP record, the parser reads a start index (i16) and number of colors (iNum16) from the file and reads palette data with: bRet &= (iNum16 == (int)fread(&ren->pPal[i16], sizeof(WPGColorRGB), iNum16, f)); The only bounds-related check is `if (i16 >= 0 && i16 <= iSize)`, where iSize is the WPG record size—not the palette capacity. There is no validation that i16 is less than 256 or that i16 + iNum16 does not exceed 256. A malicious WPG file can supply i16=256 and iNum16=264. That causes fread() to write 792 bytes starting at &pPal[256], while the palette buffer is only 768 bytes (256 entries × 3 bytes). This overflows into adjacent heap metadata and can crash Dia (SIGABRT / malloc corruption errors) or, depending on heap layout and exploit primitives, potentially lead to arbitrary code execution. Exploitation requires convincing a user to open a crafted WPG file via Dia's file dialog, command line, or file association. No special privileges are required to deliver the file to the victim. Affected component: WPG parser (plug-ins/wpg/wpg-import.c). Affected versions: all Dia versions containing this code path (reporter tested Dia 0.98+git20260221-1; issue present on upstream master as of 2026-08-21).
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
堆缓冲区溢出
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
GNOME Dia 0 ~ 0.98+git20260221-1 -

二、漏洞 CVE-2026-77652 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-77652 的情报信息

登录查看更多情报信息。

CVE-2026-77652 厂商安全公告 (1)

CVE-2026-77652 其他参考 (2)

CVE-2026-77652 其他参考 (1)

同批安全公告 · GNOME · 2026-08-26 · 共 3 条

CVE-2026-77658 7.8 HIGH Dia 项目文件句柄计数验证缺陷导致栈缓冲区溢出漏洞
CVE-2026-79902 5.5 MEDIUM GIMP Seattle堆栈VLA大小下溢拒绝服务漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-77652

暂无评论


发表评论