CWE
NVD-CWE-Other
Advisory Published
Updated

CVE-2004-1012

First published: Wed Dec 01 2004(Updated: )

The argument parser of the PARTIAL command in Cyrus IMAP Server 2.2.6 and earlier allows remote authenticated users to execute arbitrary code via a certain command ("body[p") that is treated as a different command ("body.peek") and causes an index increment error that leads to an out-of-bounds memory corruption.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Cyrus IMAP=2.2.6
Cyrus IMAP=2.1.10
Conectiva Linux=9.0
Cyrus IMAP=2.2.8
Cyrus IMAP=2.2.0_alpha
Cyrus IMAP=2.1.9
Cyrus IMAP=2.2.5
Cyrus IMAP=2.2.2_beta
openpkg openpkg=current
Cyrus IMAP=2.1.16
Cyrus IMAP=2.2.7
Cyrus IMAP=2.2.3
Conectiva Linux=10.0
Cyrus IMAP=2.2.1_beta
Cyrus IMAP=2.1.7
Cyrus IMAP=2.2.4
Red Hat Fedora Core=core_2.0
Trustix Secure Linux=2.0
Ubuntu=4.1
Trustix Secure Linux=2.1
Trustix Secure Linux=2.2
Red Hat Fedora Core=core_3.0
Ubuntu=4.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2004-1012?

    CVE-2004-1012 is considered a high severity vulnerability due to its potential for remote code execution.

  • How do I fix CVE-2004-1012?

    To fix CVE-2004-1012, upgrade to Cyrus IMAP Server version 2.2.7 or later, as these versions include the patch addressing this vulnerability.

  • What versions of Cyrus IMAP Server are affected by CVE-2004-1012?

    CVE-2004-1012 affects Cyrus IMAP Server versions 2.2.6 and earlier, including versions 2.1.7 through 2.2.6.

  • Can CVE-2004-1012 be exploited by an unauthenticated user?

    No, CVE-2004-1012 requires that the attacker be a remote authenticated user to exploit the vulnerability.

  • What kind of attacks can CVE-2004-1012 facilitate?

    CVE-2004-1012 can facilitate arbitrary code execution on the server, leading to potential data breaches or system compromise.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203