CVE-2025-7312: IrfanView CADImage Plugin DWG File Parsing Out-Of-Bounds Read Remote Code Execution Vulnerability

Published Jul 21, 2025
·
Updated

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

5 affected components
IrfanView CADImage Plugin
All of the following
Any of the following
Cadsofttools Cadimage Irfanview<15.0.0.8
Cadsofttools Cadimage Irfanview<15.0.0.8
Any of the following
IrfanView IrfanView<4.72
IrfanView IrfanView<4.72

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. 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

Jul 21, 2025
CVE Published
via MITRE·08:02 PM
Data Sourced
via MITRE·08:02 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Jul 3, 2026
Advisory Published
via ZDI·11:04 AM
Data Sourced
via ZDI·11:04 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

Who is affected by CVE-2025-7312?

Users of the IrfanView CADImage Plugin and IrfanView software are affected by CVE-2025-7312.

5

Is user interaction required to exploit CVE-2025-7312?

Yes, user interaction is required to exploit CVE-2025-7312.

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