CVE-2006-2480
Description
Format string vulnerability in Dia 0.94 allows user-assisted attackers to cause a denial of service (crash) and possibly execute arbitrary code by triggering errors or warnings, as demonstrated via format string specifiers in a .bmp filename. NOTE: the original exploit was demonstrated through a command line argument, but there are other mechanisms for input that are automatically processed by Dia, such as a crafted .dia file.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
✚ Propose a mitigation on Community → Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Dia 0.8x/0.9x - Filename Remote Format String
source: https://www.securityfocus.com/bid/18078/info
Dia is prone to a remote format-string vulnerability.
This issue arises when the application handles specially crafted filenames. An attacker can exploit this vulnerability by crafting a malicious filename that contains format specifiers and then coercing unsuspecting users to open the malicious file with the affected application.
A successful attack may crash the application or lead to arbitrary code execution.
This issue affects Dia versions 0.95 and earlier.
The following filename is sufficient to demonstrate this issue:
%p%p%p%p.bmp
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 0.95.0-4 |
| sid | Fixed | 0.95.0-4 |
| forky | Fixed | 0.95.0-4 |
| bullseye | Fixed | 0.95.0-4 |
| bookworm | Fixed | 0.95.0-4 |
References
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.