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

Listen to this Post

How the CVE Works

The vulnerability exists in the IrfanView CADImage Plugin when parsing Computer Graphics Metafile (CGM) files. Due to insufficient bounds checking, the plugin fails to validate the length of user-supplied data before processing it. This allows an attacker to craft a malicious CGM file that triggers an out-of-bounds read, corrupting memory. By carefully manipulating the file structure, an attacker can achieve remote code execution within the context of the application. Exploitation requires user interaction, such as opening a malicious file or visiting a compromised webpage hosting the exploit.

DailyCVE Form

Platform: IrfanView CADImage Plugin
Version: Prior to patched release
Vulnerability: Out-of-bounds read → RCE
Severity: Critical
Date: 07/25/2025

Prediction: Patch expected by 08/15/2025

What Undercode Say

Analytics:

strings malicious.cgm | grep -i "BOUNDS_OVERRUN"
gdb -ex 'run' -ex 'disas parse_cgm' irfanview

How Exploit:

with open("exploit.cgm", "wb") as f:
f.write(b"\x41" 1024 + b"\x90" 200 + shellcode)

Protection from this CVE:

  • Disable CGM file parsing in IrfanView
  • Apply vendor patch upon release

Impact:

  • Full system compromise via arbitrary code execution
  • Exploitable via phishing or malicious websites

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