Bug 2520890 (CVE-2026-77658) - CVE-2026-77658 dia: dia: stack buffer overflow in Bus object via unvalidated handle count in project files
Summary: CVE-2026-77658 dia: dia: stack buffer overflow in Bus object via unvalidated ...
Keywords:
Status: NEW
Alias: CVE-2026-77658
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: 2522060 2522061 2522062 2522063
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-21 04:33 UTC by OSIDB Bzimport
Modified: 2026-08-24 16:36 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-21 04:33:19 UTC
A flaw was found in Dia's Network Bus object loader. When opening a crafted Dia project (.dia) file, the bus_handles attribute supplies num_handles without validation. Later, when a bus handle is moved, bus_handle_moved() allocates two arrays on the stack using g_alloca() sized by num_handles, which can exhaust the thread stack and cause memory corruption, application crash, or potentially arbitrary code execution. The same g_alloca pattern exists in objects/Misc/tree.c.


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