CVE-2007-4560 clam anti-virus clamav: OS Command Injection
clam anti-virus clamav: no CVSS score yet. EPSS 84% estimated probability of exploitation activity in the next 30 days.
On this page
- EPSS
- 84% (unchanged from 84% a week ago; 84% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian: fixed package versions per release
- Patch: http://www.nruns.com/security_advisory_clamav_remote_code_exection.php
- Patch: http://www.securityfocus.com/bid/25439
- Vendor advisory: http://secunia.com/advisories/26654
- Vendor advisory: http://secunia.com/advisories/26674
- Vendor advisory: http://secunia.com/advisories/26683
Ask an AI about this CVE
Show the prompt
Explain CVE-2007-4560 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2007-4560?via=ask-ai-copy and https://cve.bz/cve/CVE-2007-4560?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2007-4560 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| clam_anti-virus:clamav | through 0.91.1 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 4.0 | clamav | 0.90.1-3etch7 | DSA-1366-1 |
| Debian | 12, 13, 14 | clamav | 0.91.2-1~volatile1 | DEBIAN-CVE-2007-4560 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
Public exploits
- Exploit-DB ClamAV Milter - Blackhole-Mode Remote Code Execution (Metasploit)
- Exploit-DB Sendmail with clamav-milter < 0.91.2 - Remote Command Execution
- Exploit-DB ClamAV Milter 0.92.2 - Blackhole-Mode (Sendmail) Code Execution (Metasploit)
- Metasploit ClamAV Milter Blackhole-Mode Remote Code Execution
GitHub PoC
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
- Strikoder-Premium/sendmail-clamav-exploit-CVE-2007-4560 Harbor Check: matches CVE 4 stars, Python, created
Python RCE exploit for Sendmail with ClamAV-Milter <0.91.2 (CVE-2007-4560). Remote root command injection via SMTP RCPT TO headers.
Attack patterns (CAPEC)
- CAPEC-6 Argument Injection Likelihood: High · Severity: High
- CAPEC-15 Command Delimiters Likelihood: High · Severity: High
- CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
- CAPEC-88 OS Command Injection Likelihood: High · Severity: High
- CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- http://www.nruns.com/security_advisory_clamav_remote_code_exection.php
- http://www.securityfocus.com/bid/25439
- http://secunia.com/advisories/26654
- http://secunia.com/advisories/26674
- http://secunia.com/advisories/26683
- http://secunia.com/advisories/26751
- http://secunia.com/advisories/26822
- http://secunia.com/advisories/26916
- http://docs.info.apple.com/article.html?artnum=307562
- http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
- http://secunia.com/advisories/29420
- http://security.gentoo.org/glsa/glsa-200709-14.xml
- http://securityreason.com/securityalert/3063
- http://www.debian.org/security/2007/dsa-1366
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:172
- http://www.novell.com/linux/security/advisories/2007_18_sr.html
- http://www.securityfocus.com/archive/1/477723/100/0/threaded
- http://www.securitytracker.com/id?1018610
- http://www.trustix.org/errata/2007/0026/
- http://www.vupen.com/english/advisories/2008/0924/references
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00104.html