GNU Mailutils Mail Email Header Buffer Overflow Vulnerability

BID:13766

Info

GNU Mailutils Mail Email Header Buffer Overflow Vulnerability

Bugtraq ID: 13766
Class: Boundary Condition Error
CVE: CVE-2005-1520
Remote: Yes
Local: No
Published: May 25 2005 12:00AM
Updated: Jul 12 2009 02:56PM
Credit: [email protected] is credited with the discovery of this issue.
Vulnerable: NakedSoft Gaucho 1.4 build 145
GNU Mailutils 0.6
+ Gentoo Linux
GNU Mailutils 0.5
Debian Linux 3.0 sparc
Debian Linux 3.0 s/390
Debian Linux 3.0 ppc
Debian Linux 3.0 mipsel
Debian Linux 3.0 mips
Debian Linux 3.0 m68k
Debian Linux 3.0 ia-64
Debian Linux 3.0 ia-32
Debian Linux 3.0 hppa
Debian Linux 3.0 arm
Debian Linux 3.0 alpha
Debian Linux 3.0
Not Vulnerable: NakedSoft Gaucho 1.4 build 151
GNU Mailutils 0.6.90

Discussion

GNU Mailutils Mail Email Header Buffer Overflow Vulnerability

GNU Mailutils mail is affected by an email header buffer overflow vulnerability.

The problem exists in the 'header_get_field_name()' function of the 'mailbox/header.c' source file and manifests while the software is processing superfluous email header values.

Ultimately a malicious attacker may exploit this issue to execute arbitrary code on the affected computer with the privileges of the user who started the affected application by sending a specially crafted malicious email.

Exploit / POC

GNU Mailutils Mail Email Header Buffer Overflow Vulnerability

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

Solution / Fix

GNU Mailutils Mail Email Header Buffer Overflow Vulnerability

Solution:
The vendor has released an update to address this and other issues:

Gentoo has released advisory GLSA 200505-20 to address this issue. Please see the referenced advisory for more information. Gentoo users may carry out the following commands to update their computers:

emerge --sync
emerge --ask --oneshot --verbose ">=net-mail/mailutils-0.6-r1"

Debian Linux has released advisory DSA 732-1 addressing this issue. Please see the referenced advisory for details on obtaining and applying the appropriate updates.


GNU Mailutils 0.5

GNU Mailutils 0.6

NakedSoft Gaucho 1.4 build 145

Debian Linux 3.0 hppa

Debian Linux 3.0 ppc

Debian Linux 3.0 s/390

Debian Linux 3.0

Debian Linux 3.0 arm

Debian Linux 3.0 alpha

Debian Linux 3.0 mips

Debian Linux 3.0 ia-32

Debian Linux 3.0 mipsel

Debian Linux 3.0 sparc

Debian Linux 3.0 m68k

Debian Linux 3.0 ia-64

References

GNU Mailutils Mail Email Header Buffer Overflow Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report