CVE-2025-7253 in CADImage Plugininfo

Summary

by MITRE • 07/21/2025

IrfanView CADImage Plugin DWG File Parsing Memory Corruption 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 memory corruption condition. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-26112.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 07/25/2025

The CVE-2025-7253 vulnerability represents a critical memory corruption flaw within the IrfanView CADImage Plugin that processes DWG files, creating a remote code execution vector that poses significant risks to affected systems. This vulnerability specifically targets the parsing mechanism of AutoCAD Drawing files, which are commonly used in engineering and architectural contexts, making it particularly dangerous given the widespread use of CAD formats in professional environments. The flaw resides in the plugin's insufficient input validation procedures when processing maliciously crafted DWG files, allowing attackers to manipulate memory structures through carefully constructed file content.

The technical nature of this vulnerability aligns with CWE-121, which describes stack-based buffer overflow conditions, and CWE-122, which covers heap-based buffer overflow scenarios. When the CADImage Plugin processes a malformed DWG file, the inadequate validation leads to memory corruption that can be exploited to overwrite critical memory locations, potentially allowing attackers to inject and execute arbitrary code within the IrfanView process context. The vulnerability requires user interaction to be exploited, meaning that targets must either open a malicious DWG file directly or visit a web page that automatically triggers the plugin to process a compromised file, making it a targeted attack vector rather than an automated exploit.

From an operational impact perspective, this vulnerability presents a severe threat to organizations that rely on IrfanView for image viewing and CAD file handling, particularly in engineering firms, architectural offices, and manufacturing environments where DWG files are routinely processed. The remote code execution capability allows attackers to gain full control over affected systems, potentially leading to data exfiltration, system compromise, or lateral movement within network environments. Attackers can leverage this vulnerability through various attack vectors including malicious email attachments, compromised websites, or malicious file sharing platforms where users might inadvertently open compromised CAD files.

The exploitation of CVE-2025-7253 aligns with several ATT&CK techniques including T1203, which covers Exploitation for Client Execution, and T1059, covering Command and Scripting Interpreter, as attackers can execute malicious code through the compromised plugin. Organizations should prioritize immediate remediation through plugin updates, network segmentation to limit exposure, and user education to avoid opening suspicious files. Additionally, implementing application whitelisting policies and monitoring for unusual file processing activities can help detect potential exploitation attempts. The vulnerability demonstrates the critical importance of proper input validation and memory safety practices in plugin architectures, as the lack of robust validation mechanisms in file parsing components can create significant attack surfaces that adversaries can leverage for system compromise.

Reservation

07/07/2025

Disclosure

07/21/2025

Moderation

accepted

CPE

ready

EPSS

0.00220

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!