CVE-2007-6745
📋 TL;DR
CVE-2007-6745 is a floating point exception vulnerability in ClamAV 0.91.2's ScanOLE2 component that can cause denial of service. When exploited, it crashes the ClamAV service, disrupting antivirus scanning capabilities. This affects systems running vulnerable versions of ClamAV, particularly email gateways and file scanning services.
💻 Affected Systems
- ClamAV
📦 What is this software?
Clamav by Clamav
⚠️ Risk & Real-World Impact
Worst Case
Complete denial of antivirus scanning service, potentially allowing malware to bypass detection while the service is down.
Likely Case
Service crash requiring manual restart, temporarily disabling malware scanning capabilities.
If Mitigated
Minimal impact with proper monitoring and automated restart mechanisms in place.
🎯 Exploit Status
Exploitation requires sending a specially crafted OLE2 file to trigger the floating point exception. The vulnerability is well-documented in security advisories.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 0.91.3 and later
Vendor Advisory: https://access.redhat.com/security/cve/cve-2007-6745
Restart Required: Yes
Instructions:
1. Update ClamAV to version 0.91.3 or later. 2. For Linux: Use package manager (apt-get update && apt-get upgrade clamav). 3. For Windows: Download latest installer from clamav.net. 4. Restart ClamAV service.
🔧 Temporary Workarounds
Disable OLE2 scanning
linuxTemporarily disable ScanOLE2 component to prevent exploitation
Edit clamd.conf: ScanOLE2 no
Restart clamd: systemctl restart clamav-daemon
Implement file type filtering
allBlock or quarantine OLE2 files before they reach ClamAV
🧯 If You Can't Patch
- Implement network segmentation to isolate ClamAV servers from untrusted networks
- Deploy monitoring and automated restart scripts for ClamAV service
🔍 How to Verify
Check if Vulnerable:
Check ClamAV version: clamscan --version | grep 'ClamAV'
Check Version:
clamscan --version
Verify Fix Applied:
Verify version is 0.91.3 or later: clamscan --version
📡 Detection & Monitoring
Log Indicators:
- ClamAV crash logs
- Service restart messages in system logs
- Floating point exception errors
Network Indicators:
- Sudden stop in ClamAV scanning traffic
- Increased file processing failures
SIEM Query:
source="clamav" AND ("crash" OR "exception" OR "restart")
🔗 References
- http://www.openwall.com/lists/oss-security/2012/03/29/2
- https://access.redhat.com/security/cve/cve-2007-6745
- https://security-tracker.debian.org/tracker/CVE-2007-6745
- http://www.openwall.com/lists/oss-security/2012/03/29/2
- https://access.redhat.com/security/cve/cve-2007-6745
- https://security-tracker.debian.org/tracker/CVE-2007-6745