ZDI-25-507: IrfanView CADImage Plugin DWG File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability
This vulnerability allows remote attackers to execute arbitrary code on affected installations of IrfanView CADImage Plugin. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of DWG files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.
Other sources
This vulnerability allows remote attackers to execute arbitrary code on affected installations of IrfanView CADImage Plugin. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2025-7258.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-25-507?
ZDI-25-507 has a high severity rating due to its potential for remote code execution.
How do I fix ZDI-25-507?
To fix ZDI-25-507, update your IrfanView CADImage Plugin to the latest available version.
What systems are affected by ZDI-25-507?
ZDI-25-507 affects installations of the IrfanView CADImage Plugin.
Can ZDI-25-507 be exploited without user interaction?
No, ZDI-25-507 requires user interaction, such as visiting a malicious page or opening a malicious file.
What kind of attack can ZDI-25-507 facilitate?
ZDI-25-507 can facilitate remote code execution attacks on affected systems.