CVE-2004-2771

NONE EPSS 6.91%
Updated Sep 23, 2026
Bsd_Mailx_Project
Parameter Value
Affected Versions before 8.1.2
Type CWE-20 (Improper Input Validation)
Vendor Bsd_Mailx_Project
Public PoC No

The expand function in fio.c in Heirloom mailx 12.5 and earlier and BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via shell metacharacters in an email address.

Vulnerable Products 6

Configuration From (including) Up to (excluding)
Oracle Linux
cpe:2.3:o:oracle:linux:6:*:*:*:*:*:*:*
— —
Oracle Linux
cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
— —
Bsd_Mailx_Project Bsd_Mailx
cpe:2.3:a:bsd_mailx_project:bsd_mailx:*:*:*:*:*:*:*:*
— <= 8.1.2
Heirloom Mailx
cpe:2.3:a:heirloom:mailx:*:*:*:*:*:*:*:*
— <= 12.5