CVE-2007-4560 in Clam Anti-Virus Clamav
clamav-milter in ClamAV before 0.91.2, when run in black hole mode, allows remote attackers to execute arbitrary commands via shell metacharacters that are used in a certain popen call, involving the "recipient field of sendmail."
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Clam Anti-Virus | Clamav | ≤ 0.91.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
clamav-milter in ClamAV before 0.91.2, when run in black hole mode, allows remote attackers to execute arbitrary commands via shell metacharacters that are used in a certain popen call, involving the "recipient field of sendmail."
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2007-4560 |
|---|---|
| BreachSpider ID | BS-2007-GLOBAL-175647-H |
| CVSS vector | AV:N/AC:H/Au:N/C:C/I:C/A:C |
| Published | 2007-08-28 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-78: OS Command Injection
Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78
CAPEC-108 Command Line Execution through SQL Injection via CWE-78
CAPEC-6 Argument Injection via CWE-78
CAPEC-15 Command Delimiters via CWE-78
CAPEC-88 OS Command Injection via CWE-78
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2007-4560 affects clamav-milter in ClamAV versions prior to 0.91.2, allowing remote attackers to execute arbitrary commands through shell metacharacters in the recipient field of sendmail. This vulnerability has a CVSS score of 7.6, indicating high severity, and has a public proof of concept and known exploits. The EPSS score of 0.87090 places it in the top 1% of vulnerabilities likely to be exploited.
The vulnerability exists in the clamav-milter component of ClamAV when it is configured to run in black hole mode. An attacker can exploit this by sending specially crafted emails containing shell metacharacters in the recipient field, which are then processed by a popen call, leading to arbitrary command execution on the affected system.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for the recipient field in the mail processing pipeline to prevent the injection of shell metacharacters. Additionally, ensure that the clamav-milter runs with the least privilege necessary to minimize the impact of potential exploitation.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2007-4560?
CVE-2007-4560 affects clamav-milter in ClamAV versions prior to 0.91.2, allowing remote attackers to execute arbitrary commands through shell metacharacters in the recipient field of sendmail. This vulnerability has a CVSS score of 7.6, indicating high severity, and has a public proof of concept and known exploits. The EPSS score of 0.87090 places it in the top 1% of vulnerabilities likely to be exploited.
What is the CVSS score for CVE-2007-4560?
CVE-2007-4560 has CVSS 7.6 (High). Vector: AV:N/AC:H/Au:N/C:C/I:C/A:C. EPSS: 83.5%.
Is CVE-2007-4560 actively exploited?
Public exploit available for CVE-2007-4560. Exploitation risk elevated.
How do I remediate CVE-2007-4560?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2007-4560?
CVE-2007-4560 affects Clam Anti-Virus Clamav.
What NERC-CIP standard applies to CVE-2007-4560?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to the system, which could compromise the integrity and availability of critical cyber assets.
What IEC 62443 requirement maps to CVE-2007-4560?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 as it involves a vulnerability that can lead to unauthorized control of the system, which is a critical security concern in ICS environments.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Clam Anti-Virus","product":"Clamav","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.