Stack-Based Buffer Overflow Vulnerability in Dia Diagram Editor
CVE-2026-77658

7.8HIGH

Key Information:

Vendor

Gnome

Status
Vendor
CVE Published:
26 August 2026

What is CVE-2026-77658?

A stack-based buffer overflow vulnerability has been identified in the Dia Diagram Editor, specifically when processing Network Bus objects from Dia XML project files. The flaw occurs in the bus_load() function, where the number of bus handles is read from an attribute file without enforcing an upper limit. An attacker can exploit this vulnerability by creating a malicious .dia file with a high bus handle count, leading to excessive stack space allocation that exceeds the thread stack limit. Consequently, this can result in a SIGSEGV error and corruption of the stack frame and return-address. Users must be cautious while opening .dia files to prevent exploitation and system crashes. Notably, a similar vulnerability exists in Tree objects within Dia, indicating a broader risk.

Affected Version(s)

Dia 0 <= 0.98.0

References

CVSS V3.1

Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Red Hat would like to thank Robin "drzobin" Larsson for reporting this issue.
.