Exim Illegal IPv6 Address Buffer Overflow Vulnerability

BID:12185

Info

Exim Illegal IPv6 Address Buffer Overflow Vulnerability

Bugtraq ID: 12185
Class: Boundary Condition Error
CVE: CVE-2005-0021
Remote: No
Local: Yes
Published: Jan 06 2005 12:00AM
Updated: Jul 12 2009 09:27AM
Credit: Discovery is credited to an anonymous source.
Vulnerable: University of Cambridge Exim 4.43
University of Cambridge Exim 4.42
University of Cambridge Exim 4.41
University of Cambridge Exim 4.40
University of Cambridge Exim 4.34
+ Ubuntu Ubuntu Linux 4.1 ppc
+ Ubuntu Ubuntu Linux 4.1 ia64
+ Ubuntu Ubuntu Linux 4.1 ia32
University of Cambridge Exim 4.33
University of Cambridge Exim 4.32
University of Cambridge Exim 4.21
University of Cambridge Exim 4.20
University of Cambridge Exim 4.10
SuSE Linux 8.1
S.u.S.E. Linux Personal 9.2
S.u.S.E. Linux Personal 9.1
S.u.S.E. Linux Personal 9.0 x86_64
S.u.S.E. Linux Personal 9.0
S.u.S.E. Linux Personal 8.2
Redhat Fedora Core3
Redhat Fedora Core2
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
ALT Linux ALT Linux Junior 2.3
ALT Linux ALT Linux Compact 2.3
Not Vulnerable:

Discussion

Exim Illegal IPv6 Address Buffer Overflow Vulnerability

Exim is reported susceptible to a buffer overflow vulnerability when attempting to parse illegal IPv6 addresses. This issue is due to a failure of the application to properly bounds check user-supplied input prior to copying it to a fixed-size memory buffer.

The original reporter suggested that this vulnerability may be exploited to gain elevated privileges via calling Exim with unspecified command line arguments. Gaining elevated privileges would only be possible where the Exim binary is installed with setuid privileges.

It is conjectured that code paths other than those pertaining to command line processing may result in remotely exploitable buffer overflow vulnerabilities, but this is not confirmed at the present time.

Exploit / POC

Exim Illegal IPv6 Address 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

Exim Illegal IPv6 Address Buffer Overflow Vulnerability

Solution:
The vendor has released patches, and a snapshot version of Exim to address this issue. These patches are for version 4.43 of Exim, but the vendor has reported that they may also work for previous versions.

The patches can be extracted from the referenced email message from Philip Hazel.

Debian has released an advisory (DSA 637-1) and updates to address this vulnerability in exim-tls. Please see the referenced advisory for further information regarding obtaining and applying appropriate updates.

RedHat has released two advisories called FEDORA-2005-001 to address this, and other issues for Fedora Core 2 and 3. Please see the referenced advisories for further information.

Ubuntu has released advisory USN-56-1 to address this issue. Please see the attached advisory for further information on obtaining and applying fixes.

Debian has released advisory DSA 635-1 to address this issue. Please see the attached advisory for further information on obtaining and applying fixes.

Gentoo has released an advisory GLSA 200501-23 to address issues in Exim. 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 ">=mail-mta/exim-4.43-r2"

SuSE Linux has released a security summary report (SUSE-SR:2005:002) that contains fixes to address this and other vulnerabilities. Customers are advised to peruse the referenced advisory for further information regarding obtaining and applying appropriate updates.

ALT Linux has released updates dealing with this and other issues. Please see the reference section for more information.


University of Cambridge Exim 4.10

University of Cambridge Exim 4.20

University of Cambridge Exim 4.21

University of Cambridge Exim 4.32

University of Cambridge Exim 4.33

University of Cambridge Exim 4.34

University of Cambridge Exim 4.40

University of Cambridge Exim 4.41

University of Cambridge Exim 4.42

University of Cambridge Exim 4.43

References

Exim Illegal IPv6 Address 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