ZDI-25-511: IrfanView CADImage Plugin CGM 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 CGM 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.
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-7263.
— ZDI
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch ZDI-25-511
Event History
Frequently Asked Questions
What is the severity of ZDI-25-511?
The severity of ZDI-25-511 has not been explicitly stated, but it is classified as a critical remote code execution vulnerability.
How do I fix ZDI-25-511?
To fix ZDI-25-511, update to the latest version of the IrfanView CADImage Plugin as per the vendor's guidance.
Who is affected by ZDI-25-511?
Users of IrfanView CADImage Plugin are affected by ZDI-25-511, particularly if they interact with malicious content.
What type of vulnerability is ZDI-25-511?
ZDI-25-511 is a remote code execution vulnerability that requires user interaction for exploitation.
What kind of attacks can ZDI-25-511 facilitate?
ZDI-25-511 allows remote attackers to execute arbitrary code on a victim's system upon visiting a malicious page or opening a malicious file.