Gentoo Logo

Sendmail: Denial of Service


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200606-19 / sendmail
Release Date June 15, 2006
Latest Revision June 15, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
mail-mta/sendmail < 8.13.6-r1 >= 8.13.6-r1 All supported architectures

Related bugreports: #135141


Faulty multipart MIME messages can cause forked Sendmail processes to crash.

2.  Impact Information


Sendmail is a popular mail transfer agent (MTA).


Frank Sheiness discovered that the mime8to7() function can recurse endlessly during the decoding of multipart MIME messages until the stack of the process is filled and the process crashes.


By sending specially crafted multipart MIME messages, a remote attacker can cause a subprocess forked by Sendmail to crash. If Sendmail is not set to use a randomized queue processing, the attack will effectively halt the delivery of queued mails as well as the malformed one, incoming mail delivered interactively is not affected. Additionally, on systems where core dumps with an individual naming scheme (like "") are enabled, a filesystem may fill up with core dumps. Core dumps are disabled by default in Gentoo.

3.  Resolution Information


The Sendmail 8.13.7 release information offers some workarounds, please see the Reference below. Note that the issue has actually been fixed in the 8.13.6-r1 ebuild.


All Sendmail users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=mail-mta/sendmail-8.13.6-r1"

4.  References


Page updated June 15, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.