GNU Mailutils Imap4D Command Tag Remote Format String Vulnerability

BID:13764

Info

GNU Mailutils Imap4D Command Tag Remote Format String Vulnerability

Bugtraq ID: 13764
Class: Input Validation Error
CVE: CVE-2005-1523
Remote: Yes
Local: No
Published: May 25 2005 12:00AM
Updated: Jul 12 2009 02:56PM
Credit: [email protected] is credited with the discovery of this issue.
Vulnerable: GNU Mailutils 0.6
+ Gentoo Linux
GNU Mailutils 0.5
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
Debian Linux 3.0
Not Vulnerable: GNU Mailutils 0.6.90

Discussion

GNU Mailutils Imap4D Command Tag Remote Format String Vulnerability

GNU Mailutils imap4d is prone to a remote format string handling vulnerability. The issue manifests when the service handles malicious client command identifier prefixes.

A successful attack may result in arbitrary code execution. This may facilitate unauthorized access or privilege escalation in the context of the server.

Exploit / POC

GNU Mailutils Imap4D Command Tag Remote Format String Vulnerability

The following examples are available:
%n%n%n%n%n die.
%p-%p-%p-%p-%p-%p-%p-%p-%p-%p-%p info

[email protected] provided the gun-imapd.c proof of concept exploit.

Adriano Lima <[email protected]> provided the gnu_mailutils_imap4d.pm proof of concept exploit.

mu-imap4d_fsexp.c was provided by CoKi <[email protected]>.

Solution / Fix

GNU Mailutils Imap4D Command Tag Remote Format String Vulnerability

Solution:
The vendor has released an update to address this and other issues:

Gentoo has released advisory GLSA 200505-20 to address this issue. 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 ">=net-mail/mailutils-0.6-r1"

Debian Linux has released advisory DSA 732-1 addressing this issue. Please see the referenced advisory for details on obtaining and applying the appropriate updates.


GNU Mailutils 0.5

GNU Mailutils 0.6

Debian Linux 3.0 hppa

Debian Linux 3.0 ppc

Debian Linux 3.0 s/390

Debian Linux 3.0

Debian Linux 3.0 arm

Debian Linux 3.0 alpha

Debian Linux 3.0 mips

Debian Linux 3.0 ia-32

Debian Linux 3.0 mipsel

Debian Linux 3.0 sparc

Debian Linux 3.0 m68k

Debian Linux 3.0 ia-64

References

GNU Mailutils Imap4D Command Tag Remote Format String 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