IrfanView CADImage Plugin, DWG File Parsing Memory Corruption, CVE-2025-7239 (Critical)

Listen to this Post

How the CVE Works

The vulnerability (CVE-2025-7239) in IrfanView’s CADImage Plugin stems from improper memory handling when parsing DWG files. Attackers craft malicious DWG files containing specially designed data that triggers memory corruption due to insufficient input validation. When a victim opens the malicious file, the plugin fails to properly validate the file structure, leading to a heap-based buffer overflow. This allows arbitrary code execution within the context of the application, enabling full system compromise if exploited successfully. The flaw is reachable via user interaction (opening a malicious file or visiting a malicious webpage).

DailyCVE Form

Platform: IrfanView CADImage Plugin
Version: <= 4.60
Vulnerability: Memory Corruption (RCE)
Severity: Critical
Date: 07/25/2025

Prediction: Patch expected by 08/15/2025

What Undercode Say

Analytics:

strings malicious.dwg | grep "ACAD"
gdb -ex 'run' -ex 'bt' --args irfanview.exe malicious.dwg
python3 exploit_dwg.py --target-version 4.60

How Exploit

  • Craft malicious DWG file with oversized entity data.
  • Trigger heap overflow via malformed object headers.
  • Overwrite function pointers for EIP control.

Protection from this CVE

  • Disable CADImage Plugin if unused.
  • Apply vendor patch upon release.
  • Restrict DWG file execution via Group Policy.

Impact:

  • Remote Code Execution (RCE)
  • Full system compromise
  • Low attack complexity (user-dependent)

Sources:

Reported By: nvd.nist.gov
Extra Source Hub:
Undercode

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow DailyCVE & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin Featured Image

Scroll to Top