CVE-2014-7844
BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via a crafted...
BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via a crafted email address.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via a crafted email address.
- Record
CVE-2014-7844- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-74
- Updated
- 2026-11-02
CVE List No score
BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via a crafted email address.
- Record
CVE-2014-7844- Updated
- 2026-11-02
EUVDEUVD-2014-7698 No score
BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via a crafted email address.
- Record
EUVD-2014-7698- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-v8v3-2m82-gr7p
7.8
BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via a crafted...
BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via a crafted email address.
- Record
GHSA-v8v3-2m82-gr7p- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-74
- Updated
- 2026-11-02
OSV
7.8
BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via a crafted email address.
- Record
CVE-2014-7844- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2014-7844
7.8
BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via a crafted email address.
- Record
DEBIAN-CVE-2014-7844- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2014-7844
7.8
BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via a crafted email address.
- Record
UBUNTU-CVE-2014-7844- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2014-0538 No score
Updated nail package fixes security vulnerabilities
Updated nail package fixes security vulnerabilities:
A flaw was found in the way mailx handled the parsing of email addresses. A syntactically valid email address could allow a local attacker to cause mailx to execute arbitrary shell commands through shell meta-characters and the direct command execution functionality (CVE-2004-2771, CVE-2014-7844).
- Record
MGASA-2014-0538- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10561-1 No score
mailx-12.5-24.4 on GA media
These are all security issues fixed in the mailx-12.5-24.4 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10561-1- Updated
- 2026-11-02
OSVSUSE-RU-2015:0876-1 No score
Recommended update for mailx
This update for mailx enables IPv6 support and includes the following fixes:
* Crop off the brackets of an ipv6 address if found. (bnc#853246)
* Enable mailx to parse IPv6 addresses including a port ([ipv6]:port).
(bnc#853246)
* Do not pseudo detect Latin nor UTF-8 in binary attachments.
(bnc#827010)
- Record
SUSE-RU-2015:0876-1- Updated
- 2026-11-02
OSVUSN-2455-1 No score
bsd-mailx vulnerability
It was discovered that bsd-mailx contained a feature that allowed syntactically valid email addresses to be treated as shell commands. A remote attacker could possibly use this issue with a valid email address to execute arbitrary commands.
This functionality has now been disabled by default, and can be re-enabled with the "expandaddr" configuration option. This update alone does not remove all possibilities of command execution. In environments where scripts use mailx to process arbitrary email addresses, it is recommended to modify them to use a "--" separator before the address to properly handle those that begin with "-". In addition, specifying sendmail options after the "--" separator is no longer supported, existing scripts may need to be modified to use the "-a" option instead.
- Record
USN-2455-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
bsd-mailxDebian:12 |
before 8.1.2-0.20141216cvs-1 | 8.1.2-0.20141216cvs-1 |
bsd-mailxDebian:13 |
before 8.1.2-0.20141216cvs-1 | 8.1.2-0.20141216cvs-1 |
bsd-mailxDebian:14 |
before 8.1.2-0.20141216cvs-1 | 8.1.2-0.20141216cvs-1 |
bsd-mailxDebian:6.0 |
before 8.1.2-0.20100314cvs-1+deb6u1, plus listed versions 8.1.2-0.20100314cvs-1 |
8.1.2-0.20100314cvs-1+deb6u1 |
heirloom-mailxDebian:6.0 |
before 12.4-2+deb6u1, plus listed versions 12.4-2 |
12.4-2+deb6u1 |
bsd-mailxDebian:7 |
before 8.1.2-0.20111106cvs-1+deb7u1, plus listed versions 8.1.2-0.20111106cvs-1 |
8.1.2-0.20111106cvs-1+deb7u1 |
heirloom-mailxDebian:7 |
before 12.5-2+deb7u1, plus listed versions 12.5-2 |
12.5-2+deb7u1 |
nailMageia:4 |
before 12.4-9.1.mga4 | 12.4-9.1.mga4 |
mailxRed Hat:enterprise_linux:6::client |
before 0:12.4-8.el6_6 | 0:12.4-8.el6_6 |
mailx-debuginfoRed Hat:enterprise_linux:6::client |
before 0:12.4-8.el6_6 | 0:12.4-8.el6_6 |
Show 17 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mailxRed Hat:enterprise_linux:6::computenode |
before 0:12.4-8.el6_6 | 0:12.4-8.el6_6 |
mailx-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:12.4-8.el6_6 | 0:12.4-8.el6_6 |
mailxRed Hat:enterprise_linux:6::server |
before 0:12.4-8.el6_6 | 0:12.4-8.el6_6 |
mailx-debuginfoRed Hat:enterprise_linux:6::server |
before 0:12.4-8.el6_6 | 0:12.4-8.el6_6 |
mailxRed Hat:enterprise_linux:6::workstation |
before 0:12.4-8.el6_6 | 0:12.4-8.el6_6 |
mailx-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:12.4-8.el6_6 | 0:12.4-8.el6_6 |
mailxRed Hat:enterprise_linux:7::client |
before 0:12.5-12.el7_0 | 0:12.5-12.el7_0 |
mailx-debuginfoRed Hat:enterprise_linux:7::client |
before 0:12.5-12.el7_0 | 0:12.5-12.el7_0 |
mailxRed Hat:enterprise_linux:7::computenode |
before 0:12.5-12.el7_0 | 0:12.5-12.el7_0 |
mailx-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:12.5-12.el7_0 | 0:12.5-12.el7_0 |
mailxRed Hat:enterprise_linux:7::server |
before 0:12.5-12.el7_0 | 0:12.5-12.el7_0 |
mailx-debuginfoRed Hat:enterprise_linux:7::server |
before 0:12.5-12.el7_0 | 0:12.5-12.el7_0 |
mailxRed Hat:enterprise_linux:7::workstation |
before 0:12.5-12.el7_0 | 0:12.5-12.el7_0 |
mailx-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:12.5-12.el7_0 | 0:12.5-12.el7_0 |
bsd-mailxUbuntu:14.04:LTS |
before 8.1.2-0.20131005cvs-1ubuntu0.14.04.1, plus listed versions 8.1.2-0.20111106cvs-1ubuntu18.1.2-0.20131005cvs-1 |
8.1.2-0.20131005cvs-1ubuntu0.14.04.1 |
heirloom-mailxUbuntu:14.04:LTS |
before 12.5-2+deb7u1build0.14.04.1, plus listed versions 12.5-2 |
12.5-2+deb7u1build0.14.04.1 |
mailxopenSUSE:Tumbleweed |
before 12.5-24.4 | 12.5-24.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2014-7844 is a high vulnerability (CVSS 7.8) in Bsd Mailx, published December 10, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.55%, the 75th percentile. Fixed in bsd-mailx 8.1.2-0.20141216cvs-1.
References
seclists.org/oss-sec/2014/q4/1066
linux.oracle.com/errata/ELSA-2014-1999.html
debian.org/security/2014/dsa-3104
debian.org/security/2014/dsa-3105
rhn.redhat.com/errata/RHSA-2014-1999.html
nvd.nist.gov/vuln/detail/CVE-2014-7844
Show 23 moreShow less
access.redhat.com/errata/RHSA-2014:1999
access.redhat.com/security/cve/CVE-2014-7844
bugzilla.redhat.com/show_bug.cgi?id=1162783
github.com/advisories/GHSA-v8v3-2m82-gr7p
security-tracker.debian.org/tracker/CVE-2014-7844
advisories.mageia.org/MGASA-2014-0538.html
bugs.mageia.org/show_bug.cgi?id=14828
access.redhat.com/security/updates/classification
security.access.redhat.com/data/csaf/v2/advisories/2014/rhsa-2014_1999.json
access.redhat.com/security/cve/CVE-2004-2771
cve.org/CVERecord?id=CVE-2004-2771
nvd.nist.gov/vuln/detail/CVE-2004-2771
cve.org/CVERecord?id=CVE-2014-7844
suse.com/support/update/announcement//suse-ru-20150876-1
bugzilla.suse.com/827010
bugzilla.suse.com/853246
bugzilla.suse.com/909208
bugzilla.suse.com/922543
suse.com/security/cve/CVE-2004-2771
suse.com/security/cve/CVE-2014-7844
ubuntu.com/security/CVE-2014-7844
marc.info?l=oss-security&m=141875285203183&w=2
ubuntu.com/security/notices/USN-2455-1