CVE-2025-7312: IrfanView CADImage Plugin DWG File Parsing Out-Of-Bounds Read Remote Code Execution Vulnerability
IrfanView CADImage Plugin DWG File Parsing Out-Of-Bounds Read 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 read past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-26398.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Since ZDI-CAN-26398 requires user interaction (the target must visit a malicious page or open a malicious file), mitigate by preventing users from opening untrusted/malicious files and blocking access to malicious web content (e.g., via email/web filtering) on affected installations of the IrfanView CADImage Plugin.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-7312?
The severity of CVE-2025-7312 is classified as high due to the potential for remote code execution.
How do I fix CVE-2025-7312?
To fix CVE-2025-7312, ensure you update the IrfanView CADImage Plugin to the latest version provided by the vendor.
What type of vulnerability is CVE-2025-7312?
CVE-2025-7312 is an out-of-bounds read vulnerability that can lead to remote code execution.
Who is affected by CVE-2025-7312?
Users of the IrfanView CADImage Plugin and IrfanView software are affected by CVE-2025-7312.
Is user interaction required to exploit CVE-2025-7312?
Yes, user interaction is required to exploit CVE-2025-7312.