
CVE catalog
CVE-2004-2771
bsd-mailx: CVE-2004-2771
- Severity
- High · CVSS 7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 6.86% · Oct 25, 2026
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 and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | bsd-mailx | sid | 8.1.2-0.20220412cvs-1.1 | fixed |
| Debian | bsd-mailx | forky | 8.1.2-0.20220412cvs-1.1 | fixed |
| Debian | bsd-mailx | trixie | 8.1.2-0.20220412cvs-1.1 | fixed |
| Debian | bsd-mailx | bookworm | 8.1.2-0.20220412cvs-1 | fixed |
| Cpe | linux | Not reported | Not reported | unknown |
| Cpe | enterprise_linux | Not reported | Not reported | unknown |
| Cpe | bsd_mailx | Not reported | Not reported | unknown |
| Cpe | mailx | Not reported | Not reported | unknown |
| Opensuse | mailx | tumbleweed | 12.5-24.4 | fixed |
| Ubuntu | heirloom-mailx | 14.04 | 12.5-2 | vulnerable |
| Ubuntu | heirloom-mailx | 14.04 | 12.5-2+deb7u1build0.14.04.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | bsd-mailx | source | sid | 8.1.2-0.20071201cvs-1 | not yet assigned | Not reported | Not reported |
| Debian | bsd-mailx | source | forky | 8.1.2-0.20071201cvs-1 | not yet assigned | Not reported | Not reported |
| Debian | bsd-mailx | source | trixie | 8.1.2-0.20071201cvs-1 | not yet assigned | Not reported | Not reported |
| Debian | bsd-mailx | source | bookworm | 8.1.2-0.20071201cvs-1 | not yet assigned | Not reported | Not reported |
| Opensuse | mailx | rpm | tumbleweed | 12.5-24.4 | Not reported | OPENSUSE-SU-2024:10561-1 | Not reported |
| Ubuntu | heirloom-mailx | deb | 14.04 | 12.5-2+deb7u1build0.14.04.1 | Not reported | UBUNTU-CVE-2004-2771 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [bsd-mailx]Fixed
Details (2)
8.1.2-0.20220412cvs-1· amd64 · bookwormFixed · Fixed:
8.1.2-0.20071201cvs-1dsa · bsd-mailx · debian · bookworm; dsa · bsd-mailx · debian · 12
8.1.2-0.20220412cvs-1· arm64 · bookwormFixed · Fixed:
8.1.2-0.20071201cvs-1dsa · bsd-mailx · debian · bookworm; dsa · bsd-mailx · debian · 12
[Debian 13 (Trixie)]
- [bsd-mailx]Fixed
Details (2)
8.1.2-0.20220412cvs-1.1· amd64 · trixieFixed · Fixed:
8.1.2-0.20071201cvs-1dsa · bsd-mailx · debian · 13
8.1.2-0.20220412cvs-1.1· arm64 · trixieFixed · Fixed:
8.1.2-0.20071201cvs-1dsa · bsd-mailx · debian · 13
[openSUSE Tumbleweed]
Observed:
References
- [https://access.redhat.com/errata/RHSA-2014:1999]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2014_1999.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2004-2771]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2004-2771]
- [https://osv.dev/vulnerability/DLA-114-1]
- [https://osv.dev/vulnerability/DSA-3105-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2004-2771]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:10561-1]
- [https://security-tracker.debian.org/tracker/CVE-2004-2771]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]