Metamail: Buffer overflow — GLSA 200603-16

A buffer overflow in Metamail could possibly be exploited to execute arbitrary code.

Affected packages

net-mail/metamail on all architectures
Affected versions < 2.7.45.3-r1
Unaffected versions >= 2.7.45.3-r1

Background

Metamail is a program that decodes MIME encoded mail.

Description

Ulf Harnhammar discovered a buffer overflow in Metamail when processing mime boundraries.

Impact

By sending a specially crafted email, attackers could potentially exploit this vulnerability to crash Metamail or to execute arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All Metamail users should update to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=net-mail/metamail-2.7.45.3-r1"

References

Release date
March 17, 2006

Latest revision
March 17, 2006: 01

Severity
high

Exploitable
remote

Bugzilla entries