IrfanView CADImage Plugin, DWG File Parsing Out-Of-Bounds Read Remote Code Execution, CVE-2025-7251 (Critical)

Listen to this Post

How CVE-2025-7251 Works

The vulnerability exists in IrfanView’s CADImage Plugin when parsing DWG files. Attackers craft malicious DWG files with malformed data structures, triggering an out-of-bounds read due to insufficient bounds checking. When a victim opens the file, the plugin fails to validate buffer limits, allowing arbitrary memory reads. This can lead to remote code execution (RCE) within the context of the application. Exploitation requires user interaction (e.g., opening a malicious file).

DailyCVE Form

Platform: IrfanView CADImage Plugin
Version: Vulnerable versions pre-patch
Vulnerability: Out-of-bounds read → RCE
Severity: Critical
Date: 07/25/2025

Prediction: Patch expected by 08/15/2025

What Undercode Say

Analytics:

– `gdb ./IrfanView` (Debug crash dump)
– `python3 exploit_dwg.py` (PoC generator)
– `edb –run IrfanView` (Memory analysis)

How Exploit:

  • Crafted DWG file triggers OOB read
  • Heap manipulation for RCE
  • Requires user to open malicious file

Protection from this CVE:

  • Disable CADImage Plugin
  • Apply vendor patch
  • Restrict DWG file handling

Impact:

  • Full system compromise
  • Arbitrary code execution
  • Data exfiltration

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