---
title: "CVE-2004-1012\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2004-1012?format=md
keywords: index, follow
---

# CVE-2004-1012

Publication date 10 January 2005

Last updated 17 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| cyrus21-imapd | 7.04 feisty | Fixed 2.1.18-2ubuntu2 |
| 6.10 edgy | Fixed 2.1.18-2ubuntu2 |
| 6.06 LTS dapper | Fixed 2.1.18-2ubuntu2 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1012)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2004-1012)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2004-1012)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2004-1012)

### Related Ubuntu Security Notices (USN)

+ [USN-31-1](https://usn.ubuntu.com/USN-31-1)
+ cyrus21-imapd vulnerabilities
+ 24 November 2004

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2004-1012>
