VDB
CVE-2004-2771
CVE-2004-2771
PUBLISHED
Reported by redhat · Published December 24, 2014
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bsd_mailx | bsd_mailx_project | 8.1.2 |
| heirloom-mailx | Ubuntu:14.04:LTS | 12.5-2+deb7u1build0.14.04.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| Heirloom | mailx |
Timeline
- Dec 10, 2013 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Apr 9, 2026 Distribution Patch (2 in total, the first dated here)
- Apr 9, 2026 Security Advisory (3 in total, the first dated here)
- Sep 15, 2026 CVE Updated
- Nov 20, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2004-2771
vulnetix vdb fixes CVE-2004-2771
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2004-2771/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- DSA-3105 vendor-advisoryx_refsource_DEBIAN
- 61693 third-party-advisoryx_refsource_SECUNIA
- x_refsource_CONFIRM
- [oss-security] 20141216 mailx issues (CVE-2004-2771, CVE-2014-7844) mailing-listx_refsource_MLIST
- 60940 third-party-advisoryx_refsource_SECUNIA
- 61585 third-party-advisoryx_refsource_SECUNIA
- RHSA-2014:1999 vendor-advisoryx_refsource_REDHAT