ZDI-CAN-26170: ZDI-25-511: IrfanView CADImage Plugin CGM File Parsing Out-Of-Bounds Read Remote Code Execution Vulnerability

Published Jul 8, 2025
·
Updated

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

1 affected component
IrfanView CADImage Plugin

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch ZDI-25-511
  2. Compensating control

    Restrict user ability to open untrusted CGM files or visit untrusted/malicious pages, since exploitation requires user interaction (open a malicious file or visit a malicious page).

Event History

Jul 8, 2025
Advisory Published
via ZDI·05:00 AM
Data Sourced
via ZDI·05:00 AM
Description
Jul 3, 2026
Advisory Published
via ZDI·11:02 AM
Data Sourced
via ZDI·11:02 AM
Affected Software

Frequently Asked Questions

1

What does an attacker need to do to exploit this issue?

The attacker must persuade a target to visit a malicious page or open a malicious CGM file. No privileges are required before exploitation, but user interaction is required.

2

What level of access could successful exploitation provide?

Successful exploitation can allow arbitrary code execution in the context of the current process. The listed impact includes high confidentiality, integrity, and availability effects.

3

Which component processes the malicious content?

The issue is in the IrfanView CADImage Plugin's parsing of CGM files. It is caused by insufficient validation of user-supplied data, leading to an out-of-bounds read.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203