Impact
The Dia diagram editor contains a stack‑based buffer overflow that is triggered when a Network Bus object in a .dia project file specifies an excessively large number of bus handles. The unvalidated bus_handles attribute allows an attacker to control the amount of memory allocated on the stack via g_alloca(), potentially exceeding the thread stack limit and overwriting the return address. This overflow could cause the program to crash or, if crafted data is supplied, enable arbitrary code execution.
Affected Systems
The software affected is the Dia diagram editor, versions 0.98.0 and earlier. All users running these releases and who may open untrusted diagram files are at risk.
Risk and Exploitability
The CVSS score of 7.8 indicates a high local impact; no EPSS score is available and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires a user to open a malicious .dia file, typically via the file dialog or command line, and then manipulate a bus handle to trigger the vulnerable code path. The attack vector is local, but the potential to corrupt memory and possibly execute arbitrary code makes it a significant threat for systems that use Dia.
OpenCVE Enrichment