Impact
A heap‑based buffer overflow exists in Dia’s WPG file importer. The parser allocates a fixed 256‑entry palette but accepts an index and length that can exceed this capacity, overwriting adjacent heap metadata. Depending on heap layout and available primitives, an attacker may crash Dia with a SIGABRT or elevate the overwrite to arbitrary code execution, thereby compromising confidentiality, integrity, and availability of the affected system.
Affected Systems
The vulnerability affects the Dia diagram editor from the GNOME project. All Dia releases that include the current wpg‑import.c code path—twelve months of development versions tested from 0.98 and the master branch as of August 2026—are susceptible. Users of older or patched distributions that have incorporated a bounds check are not impacted.
Risk and Exploitability
The CVSS score of 7.8 indicates high severity, and the EPSS score is not available, though the lack of a KEV listing implies no mass exploitation has been reported. Exploitation requires the victim to open a crafted WPG file, which can be delivered via the file dialog, command line, or file association. No elevated privileges are needed to supply the malicious file, making local or remote file‑based delivery straightforward for an attacker.
OpenCVE Enrichment