PT-2026-82266 · Dia · Dia
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Dia (affected versions not specified)
Description
A heap-based buffer overflow exists in the WPG file format importer. The issue occurs in the WPG import renderer within the
plug-ins/wpg/wpg-import.c component. When processing a WPG COLORMAP record, the parser fails to validate that the start index i16 and the number of colors iNum16 do not exceed the fixed palette capacity of 256 entries. A specially crafted WPG file can trigger an overflow by providing values that cause fread() to write beyond the allocated buffer, potentially leading to application crashes or arbitrary code execution.Recommendations
Restrict the use of untrusted WPG files.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Heap Based Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Dia