GNU Mailutils Imap4D Search Command Remote Format String Vulnerability

BID:14794

Info

GNU Mailutils Imap4D Search Command Remote Format String Vulnerability

Bugtraq ID: 14794
Class: Input Validation Error
CVE: CVE-2005-2878
Remote: Yes
Local: No
Published: Sep 09 2005 12:00AM
Updated: Apr 24 2007 06:30PM
Credit: An anonymous researcher discovered this vulnerability.
Vulnerable: GNU Mailutils 0.6.1
+ Debian Linux 3.1 sparc
+ Debian Linux 3.1 s/390
+ Debian Linux 3.1 ppc
+ Debian Linux 3.1 mipsel
+ Debian Linux 3.1 mips
+ Debian Linux 3.1 m68k
+ Debian Linux 3.1 ia-64
+ Debian Linux 3.1 ia-32
+ Debian Linux 3.1 hppa
+ Debian Linux 3.1 arm
+ Debian Linux 3.1 amd64
+ Debian Linux 3.1 alpha
+ Debian Linux 3.1
GNU Mailutils 0.6
+ Gentoo Linux
Not Vulnerable:

Discussion

GNU Mailutils Imap4D Search Command Remote Format String Vulnerability

The 'imap4d' daemon is prone to a remote format-string vulnerability.

The issue presents itself when the service handles malicious search commands from a client.

A successful attack may allow attackers to execute arbitrary code, which may help them gain unauthorized access or escalate privileges in the context of the server.

This issue has been confirmed in GNU Mailutils 0.6; other versions may be vulnerable as well.

Exploit / POC

GNU Mailutils Imap4D Search Command Remote Format String Vulnerability

The following search command is sufficient to trigger this issue:

SEARCH TOPIC %s%s%s

Exploit code is available.

Solution / Fix

GNU Mailutils Imap4D Search Command Remote Format String Vulnerability

Solution:
The vendor has released a patch to address this issue. Please see the references for details.


GNU Mailutils 0.6

GNU Mailutils 0.6.1

References

GNU Mailutils Imap4D Search Command 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