Mutt: Buffer overflow — GLSA 200606-27

Mutt contains a buffer overflow that could result in arbitrary code execution.

Affected packages

mail-client/mutt on all architectures
Affected versions < 1.5.11-r2
Unaffected versions >= 1.5.11-r2

Background

Mutt is a small but very powerful text-based mail client.

Description

TAKAHASHI Tamotsu has discovered that Mutt contains a boundary error in the "browse_get_namespace()" function in browse.c, which can be triggered when receiving an overly long namespace from an IMAP server.

Impact

A malicious IMAP server can send an overly long namespace to Mutt in order to crash the application, and possibly execute arbitrary code with the permissions of the user running Mutt.

Workaround

There is no known workaround at this time.

Resolution

All Mutt users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=mail-client/mutt-1.5.11-r2"

References

Release date
June 28, 2006

Latest revision
June 28, 2006: 01

Severity
normal

Exploitable
remote

Bugzilla entries