Home / Oracle / Linux / CVE-2004-2771
CVE-2004-2771: is it exploited, and which versions of Oracle Linux are affected and fixed?
CVE-2004-2771 is an improper input validation vulnerability in Oracle Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: linux 6, linux 7, enterprise linux 6.0 and 3 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:46 UTC.
What is CVE-2004-2771?
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.
From the CVE record by redhat, last updated August 8, 2024, 01:36 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| oracle | linux | 6 | operating system |
| oracle | linux | 7 | operating system |
| redhat | enterprise linux | 6.0 | operating system |
| redhat | enterprise linux | 7.0 | operating system |
| bsd mailx project | bsd mailx | through 8.1.2 | application |
| heirloom | mailx | through 12.5 | application |
NVD analysis (status Modified), last modified September 23, 2026, 13:10 UTC.
How severe is CVE-2004-2771?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2004-2771 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 6.91% probability of exploitation activity in the next 30 days, percentile 94.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- http://linux.oracle.com/errata/ELSA-2014-1999.html x_refsource_CONFIRM
- DSA-3105 vendor-advisory, x_refsource_DEBIAN
- 61693 third-party-advisory, x_refsource_SECUNIA
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=278748 x_refsource_CONFIRM
- [oss-security] 20141216 mailx issues (CVE-2004-2771, CVE-2014-7844) mailing-list, x_refsource_MLIST
- 60940 third-party-advisory, x_refsource_SECUNIA
- 61585 third-party-advisory, x_refsource_SECUNIA
- RHSA-2014:1999 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- January 4, 2012
- Published
- December 24, 2014, 18:00 UTC
- CVE record updated
- August 8, 2024, 01:36 UTC by redhat
- NVD
- Modified, last modified September 23, 2026, 13:10 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:46 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Apr 21, 2016CVE-2016-3427 Oracle Jdk: improper access control exploited
- Dec 7, 2015CVE-2015-5287 Redhat Automatic Bug Reporting Tool: link following (a symlink lets an attacker reach other files) exploited
- Sep 25, 2014CVE-2014-7169 Gnu Bash: OS command injection exploited
- Sep 24, 2014CVE-2014-6271 Gnu Bash: OS command injection exploited
- Jun 7, 2014CVE-2014-3153 Linux Kernel: n/a exploited
- May 7, 2014CVE-2014-0196 Linux Kernel: race condition exploited
- Oct 9, 2018CVE-2018-17962 Qemu: memory corruption (buffer overflow)
- Aug 7, 2017CVE-2015-7852 Ntp: improper input validation
Questions about CVE-2004-2771
Is CVE-2004-2771 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 6.91% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Oracle Linux are affected by CVE-2004-2771?
linux 6, linux 7, enterprise linux 6.0, enterprise linux 7.0, bsd mailx through 8.1.2 and mailx through 12.5, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2004-2771?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2004-2771?
High (7.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2004-2771?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.