Every CVE Search/ Get API key

CVE-2014-7844

BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via a crafted...

7.8 HighFix available

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

1.55%Up 0.4 points since Feb 4, 2022
90%50%10%1%

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 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.2 HighAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
bsd-mailx
Debian:12
before 8.1.2-0.20141216cvs-1
8.1.2-0.20141216cvs-1
bsd-mailx
Debian:13
before 8.1.2-0.20141216cvs-1
8.1.2-0.20141216cvs-1
bsd-mailx
Debian:14
before 8.1.2-0.20141216cvs-1
8.1.2-0.20141216cvs-1
bsd-mailx
Debian: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-mailx
Debian:6.0
before 12.4-2+deb6u1, plus listed versions
12.4-2
12.4-2+deb6u1
bsd-mailx
Debian: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-mailx
Debian:7
before 12.5-2+deb7u1, plus listed versions
12.5-2
12.5-2+deb7u1
nail
Mageia:4
before 12.4-9.1.mga4
12.4-9.1.mga4
mailx
Red Hat:enterprise_linux:6::client
before 0:12.4-8.el6_6
0:12.4-8.el6_6
mailx-debuginfo
Red Hat:enterprise_linux:6::client
before 0:12.4-8.el6_6
0:12.4-8.el6_6
Show 17 moreShow less
Affected packages
PackageAffectedFixed
mailx
Red Hat:enterprise_linux:6::computenode
before 0:12.4-8.el6_6
0:12.4-8.el6_6
mailx-debuginfo
Red Hat:enterprise_linux:6::computenode
before 0:12.4-8.el6_6
0:12.4-8.el6_6
mailx
Red Hat:enterprise_linux:6::server
before 0:12.4-8.el6_6
0:12.4-8.el6_6
mailx-debuginfo
Red Hat:enterprise_linux:6::server
before 0:12.4-8.el6_6
0:12.4-8.el6_6
mailx
Red Hat:enterprise_linux:6::workstation
before 0:12.4-8.el6_6
0:12.4-8.el6_6
mailx-debuginfo
Red Hat:enterprise_linux:6::workstation
before 0:12.4-8.el6_6
0:12.4-8.el6_6
mailx
Red Hat:enterprise_linux:7::client
before 0:12.5-12.el7_0
0:12.5-12.el7_0
mailx-debuginfo
Red Hat:enterprise_linux:7::client
before 0:12.5-12.el7_0
0:12.5-12.el7_0
mailx
Red Hat:enterprise_linux:7::computenode
before 0:12.5-12.el7_0
0:12.5-12.el7_0
mailx-debuginfo
Red Hat:enterprise_linux:7::computenode
before 0:12.5-12.el7_0
0:12.5-12.el7_0
mailx
Red Hat:enterprise_linux:7::server
before 0:12.5-12.el7_0
0:12.5-12.el7_0
mailx-debuginfo
Red Hat:enterprise_linux:7::server
before 0:12.5-12.el7_0
0:12.5-12.el7_0
mailx
Red Hat:enterprise_linux:7::workstation
before 0:12.5-12.el7_0
0:12.5-12.el7_0
mailx-debuginfo
Red Hat:enterprise_linux:7::workstation
before 0:12.5-12.el7_0
0:12.5-12.el7_0
bsd-mailx
Ubuntu: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-mailx
Ubuntu:14.04:LTS
before 12.5-2+deb7u1build0.14.04.1, plus listed versions
12.5-2
12.5-2+deb7u1build0.14.04.1
mailx
openSUSE:Tumbleweed
before 12.5-24.4
12.5-24.4

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 23 moreShow less
MoveEnter Open