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.

PackageEcosystemFixed in
bsd_mailxbsd_mailx_project8.1.2
heirloom-mailxUbuntu:14.04:LTS12.5-2+deb7u1build0.14.04.1

Affected products

VendorProductVersions
n/an/an/a
n/an/a*
Heirloommailx

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›