ZDI-CAN-26127: ZDI-25-507: IrfanView CADImage Plugin DWG File Parsing Out-Of-Bounds Write 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 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

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-507
  2. Compensating control

    Since exploitation requires user interaction (victim must visit a malicious page or open a malicious file), restrict users from opening untrusted CAD files and visiting untrusted web content, and ensure users can only access trusted sites/resources.

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

Who is exposed to exploitation?

Users of affected IrfanView CADImage Plugin installations are exposed when they visit a malicious page or open a malicious DWG file. Exploitation requires user interaction.

2

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

An attacker needs to induce the target to process attacker-controlled DWG content, either through a malicious file or a malicious page. No attacker privileges are required according to the supplied CVSS vector.

3

What is the likely impact of successful exploitation?

Successful exploitation can allow arbitrary code execution in the context of the current process. The supplied CVSS vector indicates potential high impact to confidentiality, integrity, and availability.

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