All reports
Medium

mailx: command execution flaw

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2014-7844

Probability of exploitation in the next 30 days: 1.55%

FIRST EPSS · 2026-11-19

Description

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

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 (CVE-2004-2771) and the direct command execution functionality (CVE-2014-7844).