ZDI-25-492: IrfanView CADImage Plugin DWG File Parsing Memory Corruption 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 memory corruption condition. 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-7249.
— ZDI
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Because the vulnerability requires user interaction (victim must visit a malicious page or open a malicious file), reduce exposure by discouraging opening untrusted CAD/DWG files and limit user browsing/landing on untrusted pages to prevent exploitation (align controls to ZDI-25-492: IrfanView CADImage Plugin DWG File Parsing Memory Corruption RCE).
- Compensating control
Implement endpoint isolation or network egress restrictions for hosts with IrfanView CADImage Plugin to limit impact of remote code execution attempts (ZDI-25-492).
Event History
Frequently Asked Questions
What is the severity of ZDI-25-492?
ZDI-25-492 has been categorized as a high-severity vulnerability due to its potential for remote code execution.
How do I fix ZDI-25-492?
To fix ZDI-25-492, users should update the IrfanView CADImage Plugin to the latest version that addresses this vulnerability.
What are the risks associated with ZDI-25-492?
The risks of ZDI-25-492 include the potential for attackers to execute arbitrary code on affected systems, leading to data compromise.
Who is affected by ZDI-25-492?
Users of the IrfanView CADImage Plugin are primarily affected by ZDI-25-492, particularly those who open untrusted files or visit malicious web pages.
Is user interaction required to exploit ZDI-25-492?
Yes, user interaction is required for the exploitation of ZDI-25-492, as the target must either visit a malicious web page or open a harmful file.