Bug 2520884 (CVE-2026-77652) - CVE-2026-77652 dia: dia: heap buffer overflow in WPG colormap parser via out-of-bounds palette index
Summary: CVE-2026-77652 dia: dia: heap buffer overflow in WPG colormap parser via out-...
Keywords:
Status: NEW
Alias: CVE-2026-77652
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2522065 2522067
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-21 03:53 UTC by OSIDB Bzimport
Modified: 2026-08-24 16:41 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-21 03:53:20 UTC
A flaw was found in Dia's WPG (WordPerfect Graphics) import plugin. When parsing a WPG COLORMAP record, the colormap start index and entry count taken from the file are not validated against the fixed 256-entry palette buffer. A crafted WPG file can cause a heap-based buffer overflow in plug-ins/wpg/wpg-import.c, leading to memory corruption, application crash, and potentially arbitrary code execution if a victim opens the malicious file in Dia. Upstream GitLab issue #580 was closed without a fix.


Note You need to log in before you can comment on or make changes to this bug.