# CVE-2004-2771

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2014-12-24 · Modified: 2024-08-08
- Aliases: UBUNTU-CVE-2004-2771, DEBIAN-CVE-2004-2771
- Record: https://cvemate.com/vulnerability/CVE-2004-2771 · JSON: https://cvemate.com/vulnerability/CVE-2004-2771/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v2.0, NVD) AV:N/AC:L/Au:N/C:P/I:P/A:P
- EPSS: 6.914%, percentile 94.253%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- bsd\_mailx\_project bsd\_mailx: ≤ 8.1.2
- debian bsd-mailx (Debian): \< 8.1.2-0.20071201cvs-1
- ubuntu heirloom-mailx (Ubuntu): \< 12.5-2+deb7u1build0.14.04.1
- heirloom mailx: ≤ 12.5
- oracle linux: 6 \| 7
- redhat enterprise\_linux: 6.0 \| 7.0

## References

- <http://linux.oracle.com/errata/ELSA-2014-1999.html>
- <http://www.debian.org/security/2014/dsa-3105>
- <http://secunia.com/advisories/61693>
- <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=278748>
- <http://seclists.org/oss-sec/2014/q4/1066>
- <http://secunia.com/advisories/60940>
- <http://secunia.com/advisories/61585>
- <http://rhn.redhat.com/errata/RHSA-2014-1999.html>
- <https://ubuntu.com/security/CVE-2004-2771>
- <https://www.cve.org/CVERecord?id=CVE-2004-2771>
- <https://security-tracker.debian.org/tracker/CVE-2004-2771>
- <https://nvd.nist.gov/vuln/detail/CVE-2004-2771>

---

Data as of 2026-12-05T03:33:39.719Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
