Eric S. Raymond Fetchmail Email Header Parsing Buffer Overflow Vulnerability

BID:5825

Info

Eric S. Raymond Fetchmail Email Header Parsing Buffer Overflow Vulnerability

Bugtraq ID: 5825
Class: Boundary Condition Error
CVE: CVE-2002-1174
Remote: Yes
Local: No
Published: Sep 30 2002 12:00AM
Updated: Jul 11 2009 05:06PM
Credit: Discovery of this vulnerability credited to Stefan Esser <[email protected]>.
Vulnerable: Sun Cobalt Qube 3
Eric Raymond Fetchmail 6.0 .0
Eric Raymond Fetchmail 5.9.14
+ Gentoo Linux 1.4 _rc1
+ Gentoo Linux 1.2
Eric Raymond Fetchmail 5.9.13
+ OpenPKG OpenPKG 1.1
+ SuSE Linux 8.1
Eric Raymond Fetchmail 5.9.12
Eric Raymond Fetchmail 5.9.11
+ 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
Eric Raymond Fetchmail 5.9.10
Eric Raymond Fetchmail 5.9.9
+ HP Secure OS software for Linux 1.0
Eric Raymond Fetchmail 5.9.8
Eric Raymond Fetchmail 5.9.7
Eric Raymond Fetchmail 5.9.6
Eric Raymond Fetchmail 5.9.5
+ OpenPKG OpenPKG 1.0
Eric Raymond Fetchmail 5.9.4
Eric Raymond Fetchmail 5.9.3
Eric Raymond Fetchmail 5.9.2
Eric Raymond Fetchmail 5.9.1
Eric Raymond Fetchmail 5.9 .0
+ Immunix Immunix OS 7+
+ Redhat Linux 8.0 i386
+ Redhat Linux 8.0
+ Redhat Linux 7.3 i386
+ Redhat Linux 7.3
+ Redhat Linux 7.2 ia64
+ Redhat Linux 7.2 i386
+ Redhat Linux 7.2 alpha
+ Redhat Linux 7.2
+ Redhat Linux 7.1 ia64
+ Redhat Linux 7.1 i386
+ Redhat Linux 7.1 alpha
+ Redhat Linux 7.1
+ Redhat Linux 7.0 sparc
+ Redhat Linux 7.0 i386
+ Redhat Linux 7.0 alpha
+ Redhat Linux 7.0
+ Redhat Linux 6.2 sparc
+ Redhat Linux 6.2 i386
+ Redhat Linux 6.2 alpha
+ Redhat Linux 6.2
+ Sun Linux 5.0
+ SuSE Linux 7.3 sparc
+ SuSE Linux 7.3 ppc
+ SuSE Linux 7.3 i386
+ SuSE Linux 7.3
Eric Raymond Fetchmail 5.8 .0
+ SuSE Linux 7.2
Eric Raymond Fetchmail 5.7
Eric Raymond Fetchmail 5.6
Eric Raymond Fetchmail 5.5
+ Cobalt Qube 3.0
- Immunix Immunix OS 7.0 beta
- Immunix Immunix OS 7.0
Eric Raymond Fetchmail 5.4 .0
+ Caldera OpenLinux Server 3.1.1
+ Caldera OpenLinux Server 3.1
+ Caldera OpenLinux Workstation 3.1.1
+ Caldera OpenLinux Workstation 3.1
+ EnGarde Secure Linux 1.0.1
- Guardian Digital Engarde Secure Linux 1.0.1
Eric Raymond Fetchmail 5.3.8
Eric Raymond Fetchmail 5.3.7
Eric Raymond Fetchmail 5.3.6
Eric Raymond Fetchmail 5.3.5
Eric Raymond Fetchmail 5.3.4
Eric Raymond Fetchmail 5.3.3
+ Debian Linux 2.2 sparc
+ Debian Linux 2.2 powerpc
+ Debian Linux 2.2 IA-32
+ Debian Linux 2.2 arm
+ Debian Linux 2.2 alpha
+ Debian Linux 2.2 68k
Eric Raymond Fetchmail 5.3.2
Eric Raymond Fetchmail 5.3.1
- Immunix Immunix OS 6.2
Eric Raymond Fetchmail 5.3
Cobalt Qube 2.0
Apple Mac OS X 10.2.2
Apple Mac OS X 10.2
Not Vulnerable: Eric Raymond Fetchmail 6.1 .0
+ EnGarde Secure Linux 1.0.1
+ MandrakeSoft Corporate Server 2.1 x86_64
+ MandrakeSoft Corporate Server 2.1
+ MandrakeSoft Single Network Firewall 7.2
+ Mandriva Linux Mandrake 9.0
+ Mandriva Linux Mandrake 8.2
+ Mandriva Linux Mandrake 8.1
+ Mandriva Linux Mandrake 8.0
+ Mandriva Linux Mandrake 7.2
Apple Mac OS X 10.2.3

Discussion

Eric S. Raymond Fetchmail Email Header Parsing Buffer Overflow Vulnerability

A buffer overflow vulnerability has been reported for Fetchmail. Reportedly, this vulnerability is due to improper checks of user-supplied values for email headers.

Fetchmail does not properly check the size of some user-specified data when copying information into stack buffers. A remote attacker is able to trigger the overflow condition and cause Fetchmail to improperly allocate space on the system stack. Code execution may be possible.

Exploit / POC

Eric S. Raymond Fetchmail Email Header Parsing 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] &lt;mailto:[email protected]&gt;.

Solution / Fix

Eric S. Raymond Fetchmail Email Header Parsing Buffer Overflow Vulnerability

Solution:
Gentoo Linux has released an advisory. It is highly advised that users who have installed net-mail/fetchmai-0.59.14 and earlier update their systems by issuing the following commands:

emerge rsync
emerge fetchmail
emerge clean

Users of EnGarde Secure Linux are advised to upgrade vulnerable systems by installing the RPMs listed in the advisory. Further details can be found in the referenced advisory.

Sun has released an advisory. Sun Cobalt Qube 2.0, Qube 3.0 and Sun Linux 5.0 are vulnerable to this issue. Upgrade details are available in Sun Alert 47784.

Apple advises users to upgrade to MacOS X 10.2.3. Upgrades are available for MacOS X 10.2 and 10.2.2. Other versions may also be affected.

The vendor has released Fetchmail 6.1.0 which is not vulnerable to this issue. Users are advised to upgrade to the newest version of Fetchmail:


Sun Cobalt Qube 3

Apple Mac OS X 10.2

Apple Mac OS X 10.2.2

Eric Raymond Fetchmail 5.3.3

Eric Raymond Fetchmail 5.4 .0

Eric Raymond Fetchmail 5.5

Eric Raymond Fetchmail 5.6

Eric Raymond Fetchmail 5.7

Eric Raymond Fetchmail 5.8 .0

Eric Raymond Fetchmail 5.9 .0

Eric Raymond Fetchmail 5.9.10

Eric Raymond Fetchmail 5.9.11

Eric Raymond Fetchmail 5.9.6

Eric Raymond Fetchmail 5.9.7

Eric Raymond Fetchmail 5.9.8

Eric Raymond Fetchmail 5.9.9

Eric Raymond Fetchmail 6.0 .0

References

Eric S. Raymond Fetchmail Email Header Parsing 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