<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 30 Sep 2026 13:01:06 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-77658 — Dia: dia: stack buffer overflow in bus object via unvalidated handle count in project files</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-77658</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; GNOME Dia&lt;/p&gt;
&lt;p&gt;A stack-based buffer overflow vulnerability exists in the Dia diagram editor when processing Network Bus objects from Dia XML project files.&lt;/p&gt;
&lt;p&gt;In objects/network/bus.c, bus_load() reads the number of bus handles from the file attribute &amp;#34;bus_handles&amp;#34; using attribute_num_data() without validating an upper bound:&lt;/p&gt;
&lt;p&gt;bus-&amp;gt;num_handles = attribute_num_data(attr);&lt;/p&gt;
&lt;p&gt;When a bus handle is subsequently moved, bus_handle_moved() allocates two temporary arrays on the stack:&lt;/p&gt;
&lt;p&gt;parallel = (real *)g_alloca(num_handles * sizeof(real));
    perp = (real *)g_alloca(num_handles * sizeof(real));&lt;/p&gt;
&lt;p&gt;Because num_handles is fully attacker-controlled via the project file, sufficiently large values (for example 262144 or higher) cause g_alloca() to consume more stack space than the default thread stack limit (typically 8 MB on Linux), resulting in stack overflow, SIGSEGV, and potential stack frame / return-address corruption.&lt;/p&gt;
&lt;p&gt;An attacker can embed a Bus object with an excessive bus_handles count in a malicious .dia file. Exploitation requires the victim to open the file in Dia (file dialog, command line, or file association) and trigger handle manipulation (moving a bus handle), which exercises the vulnerable code path.&lt;/p&gt;
&lt;p&gt;The identical g_alloca pattern is present in objects/Misc/tree.c (copied from bus.c) and is likely vulnerable to the same class of attack via Tree objects.&lt;/p&gt;
&lt;p&gt;Affected versions: Dia 0.98.0 and earlier versions containing this code; issue confirmed on upstream master as of 2026-08-21…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; GNOME Dia&lt;/p&gt;
&lt;p&gt;A stack-based buffer overflow vulnerability exists in the Dia diagram editor when processing Network Bus objects from Dia XML project files.&lt;/p&gt;
&lt;p&gt;In objects/network/bus.c, bus_load() reads the number of bus handles from the file attribute &amp;#34;bus_handles&amp;#34; using attribute_num_data() without validating an upper bound:&lt;/p&gt;
&lt;p&gt;bus-&amp;gt;num_handles = attribute_num_data(attr);&lt;/p&gt;
&lt;p&gt;When a bus handle is subsequently moved, bus_handle_moved() allocates two temporary arrays on the stack:&lt;/p&gt;
&lt;p&gt;parallel = (real *)g_alloca(num_handles * sizeof(real));
    perp = (real *)g_alloca(num_handles * sizeof(real));&lt;/p&gt;
&lt;p&gt;Because num_handles is fully attacker-controlled via the project file, sufficiently large values (for example 262144 or higher) cause g_alloca() to consume more stack space than the default thread stack limit (typically 8 MB on Linux), resulting in stack overflow, SIGSEGV, and potential stack frame / return-address corruption.&lt;/p&gt;
&lt;p&gt;An attacker can embed a Bus object with an excessive bus_handles count in a malicious .dia file. Exploitation requires the victim to open the file in Dia (file dialog, command line, or file association) and trigger handle manipulation (moving a bus handle), which exercises the vulnerable code path.&lt;/p&gt;
&lt;p&gt;The identical g_alloca pattern is present in objects/Misc/tree.c (copied from bus.c) and is likely vulnerable to the same class of attack via Tree objects.&lt;/p&gt;
&lt;p&gt;Affected versions: Dia 0.98.0 and earlier versions containing this code; issue confirmed on upstream master as of 2026-08-21…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-77658</guid>
    </item>
  </channel>
</rss>
