CVE-2004-2771: Input Validation

Published Dec 24, 2014
·
Updated

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 Software

6 affected components
Oracle Linux=6
Oracle Linux=7
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
Bsd Mailx Project Bsd Mailx<=8.1.2
Heirloom mailx<=12.5

Event History

Dec 24, 2014
CVE Published
06:59 PM
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2004-2771?

CVE-2004-2771 is considered a high severity vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2004-2771?

To fix CVE-2004-2771, upgrade Heirloom mailx to version 12.5.1 or later, or update BSD mailx to version 8.1.3 or later.

3

What types of systems are affected by CVE-2004-2771?

CVE-2004-2771 affects Heirloom mailx versions 12.5 and earlier, and BSD mailx versions 8.1.2 and earlier, along with specific versions of Oracle and Red Hat Linux.

4

What is the exploit method for CVE-2004-2771?

CVE-2004-2771 can be exploited by injecting shell metacharacters into an email address, allowing remote attackers to execute arbitrary commands.

5

Is CVE-2004-2771 still a relevant vulnerability today?

While CVE-2004-2771 is an older vulnerability, it remains relevant for systems still running affected versions of mailx software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203