CVE-2025-7324

7.8 HIGH

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary code by tricking users into opening malicious DXF files with IrfanView's CADImage plugin. The flaw exists in improper buffer validation during DXF file parsing, enabling out-of-bounds reads that can lead to remote code execution. Users of IrfanView with the CADImage plugin are affected.

💻 Affected Systems

Products:
  • IrfanView CADImage Plugin
Versions: Versions prior to the fix (specific version unknown from provided data)
Operating Systems: Windows
Default Config Vulnerable: ⚠️ Yes
Notes: Requires user interaction to open malicious DXF file. Plugin may be installed separately from IrfanView.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise with attacker gaining the same privileges as the user running IrfanView, potentially leading to data theft, ransomware deployment, or lateral movement.

🟠

Likely Case

Malware installation or data exfiltration when users open malicious DXF files from untrusted sources.

🟢

If Mitigated

Limited impact with proper user training and file restrictions, though successful exploitation still grants process-level access.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires user interaction (opening malicious file). The vulnerability is publicly disclosed via ZDI advisory.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown from provided data - check vendor advisory

Vendor Advisory: https://www.irfanview.com/

Restart Required: No

Instructions:

1. Visit IrfanView official website
2. Download latest version with CADImage plugin updates
3. Install over existing installation
4. Verify plugin version is updated

🔧 Temporary Workarounds

Disable CADImage Plugin

windows

Remove or disable the vulnerable plugin to prevent exploitation

Navigate to IrfanView plugins directory and remove CADImage plugin files

File Association Removal

windows

Remove DXF file association with IrfanView

Control Panel > Default Programs > Set Associations > Remove .DXF from IrfanView

🧯 If You Can't Patch

  • Implement application whitelisting to block IrfanView execution
  • Use email/web gateways to block DXF file attachments and downloads

🔍 How to Verify

Check if Vulnerable:

Check IrfanView Help > About dialog for CADImage plugin version and compare with patched version from vendor advisory

Check Version:

irfanview.exe (from Help > About menu)

Verify Fix Applied:

Verify installed version matches or exceeds patched version from vendor advisory

📡 Detection & Monitoring

Log Indicators:

  • IrfanView process crashes when opening DXF files
  • Unusual child processes spawned from IrfanView

Network Indicators:

  • Downloads of DXF files from untrusted sources
  • Outbound connections from IrfanView process

SIEM Query:

Process Creation where Parent Process Name contains 'i_view' AND (Command Line contains '.dxf' OR Image contains suspicious patterns)

🔗 References

📤 Share & Export