mailx: command execution flaw
Published Dec 24, 2014
7.5
HIGHCVSS 2.0
EPSS 6.86%
Description
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.
Affected products
No data.
Configuration 2
- 6.0
- 7.0
Configuration 3
- ≤ 8.1.2
No data.
Red Hat Enterprise Linux 6
mailx-0:12.4-8.el6_6
Fixed · RHSA-2014:1999
Red Hat Enterprise Linux 7
mailx-0:12.5-12.el7_0
Fixed · RHSA-2014:1999
Red Hat Enterprise Linux 5
mailx
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | mailx-0:12.4-8.el6_6 | Fixed | RHSA-2014:1999 |
| Red Hat Enterprise Linux 7 | mailx-0:12.5-12.el7_0 | Fixed | RHSA-2014:1999 |
| Red Hat Enterprise Linux 5 | mailx | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 6.86% (0.06858) | 93.85th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.86% (0.06858) | 93.19th | v5 (v2026.06.15) |
| Apr 12, 2026 | 2.88% (0.02879) | 86.29th | v4 (v2025.03.14) |
| Apr 11, 2026 | 4.30% (0.04303) | 88.89th | v4 (v2025.03.14) |
| Jul 20, 2025 | 2.40% (0.02396) | 84.37th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.74% (0.00740) | 71.21th | v4 (v2025.03.14) |
| Dec 12, 2024 | 2.73% (0.02728) | 90.90th | v3 (v2023.03.01) |
| Jun 19, 2024 | 3.11% (0.03108) | 91.10th | v3 (v2023.03.01) |
| Mar 9, 2024 | 3.09% (0.03088) | 90.76th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.57% (0.02575) | 88.58th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.41% (0.01408) | 72.89th | v2 (v2022.01.01) |
| Feb 13, 2023 | 1.41% (0.01408) | 72.37th | v2 (v2022.01.01) |
| Feb 3, 2023 | 4.42% (0.04421) | 87.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.41% (0.01408) | 70.87th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.41% (0.01408) | 49.94th | v2 (v2022.01.01) |
References (12)
- http://linux.oracle.com/errata/ELSA-2014-1999.html x_refsource_CONFIRM
- http://rhn.redhat.com/errata/RHSA-2014-1999.html vendor-advisoryx_refsource_REDHAT
- http://seclists.org/oss-sec/2014/q4/1066 mailing-listx_refsource_MLIST
- http://secunia.com/advisories/60940 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/61585 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/61693 third-party-advisoryx_refsource_SECUNIA
- http://www.debian.org/security/2014/dsa-3105 vendor-advisoryx_refsource_DEBIAN
- https://access.redhat.com/security/cve/CVE-2004-2771 Vendor Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=278748 x_refsource_CONFIRMExploit
- https://bugzilla.redhat.com/show_bug.cgi?id=1162783 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2004-2771
- https://www.cve.org/CVERecord?id=CVE-2004-2771
| Link | Providers | Tags |
|---|---|---|
| http://linux.oracle.com/errata/ELSA-2014-1999.html | x_refsource_CONFIRM | |
| http://rhn.redhat.com/errata/RHSA-2014-1999.html | vendor-advisoryx_refsource_REDHAT | |
| http://seclists.org/oss-sec/2014/q4/1066 | mailing-listx_refsource_MLIST | |
| http://secunia.com/advisories/60940 | third-party-advisoryx_refsource_SECUNIA | |
| http://secunia.com/advisories/61585 | third-party-advisoryx_refsource_SECUNIA | |
| http://secunia.com/advisories/61693 | third-party-advisoryx_refsource_SECUNIA | |
| http://www.debian.org/security/2014/dsa-3105 | vendor-advisoryx_refsource_DEBIAN | |
| https://access.redhat.com/security/cve/CVE-2004-2771 | Vendor Advisory | |
| https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=278748 | x_refsource_CONFIRMExploit | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1162783 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2004-2771 | ||
| https://www.cve.org/CVERecord?id=CVE-2004-2771 |
Change history (0)
No recorded changes yet.