Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated IMAP credentials
-
DeliveryCraft email with RFC 822 comment ending in backslash
-
ExploitSubmit crafted message to Cyrus IMAP server
-
ExecutionTrigger heap over-read past message buffer boundary
-
ImpactReceive leaked heap memory bytes in server response
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer over-read prevention
|
| Exploitation Conditions | Exploitation requires a valid, authenticated IMAP account on the target Cyrus IMAP server (confirmed by CVSS PR:L). The attacker must be capable of submitting or causing the server to parse an email message containing a nested MIME structure with an RFC 822 comment whose final character is a backslash - this specific message construction is what triggers the over-read. No special server configuration, non-default feature, or particular deployment mode is required; the vulnerable code path is exercised during normal message parsing. What limits exploitation is the high attack complexity (CVSS AC:H): the heap bytes read beyond the buffer are determined by runtime memory layout at the moment of parsing, which the attacker cannot reliably control or predict. Extracting targeted, meaningful data therefore requires repeated attempts and favorable heap conditions that cannot be guaranteed. Deployments that allow only fully trusted, internal IMAP users significantly reduce realistic risk. |
| Impact | The NVD CVSS 3.1 base score of 3.1 (AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N) accurately characterizes this as a low-severity issue. Authentication is required - the CVSS PR:L metric confirms exploitation demands a valid IMAP account - which materially limits the attacker pool to users who already have legitimate server access. High attack complexity (AC:H) reflects the non-deterministic nature of heap layout: what data, if any, can be extracted depends on runtime memory state at parse time, making reliable targeting of sensitive heap contents difficult. No EPSS score was included in the provided intelligence data, and the vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog. No public proof-of-concept exploit has been identified. The scope is unchanged (S:U), with impact confined to partial confidentiality loss and no integrity or availability consequences. Real-world priority is low: the flaw requires a legitimate credential, a specially crafted message, and favorable heap conditions - none of which are trivially controlled by an attacker. Organizations with open IMAP registration or shared hosting environments face slightly elevated exposure relative to those with tightly controlled user rosters. |
| Exploit ScenarioDerived | An authenticated IMAP user submits a crafted email message containing a nested MIME structure with an RFC 822 comment token whose final character is a backslash, causing the Cyrus IMAP parser to advance its read pointer past the message buffer boundary into adjacent heap memory. The server includes bytes from that adjacent heap region in its response to the user, potentially exposing residual data from prior server operations such as other users' session fragments, cached message data, or internal state. Because heap layout at parse time is non-deterministic, an attacker would likely need to send many crafted messages and analyze responses to attempt targeted data recovery, making reliable exploitation difficult. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 16, 2026
Heap over-read in Cyrus IMAP through version 3.12.2 enables authenticated IMAP users to leak server heap memory by submitting a crafted email containing an RFC 822 MIME comment whose final character is a backslash. During message parsing, the server reads past the end of the message buffer into adjacent heap memory and returns the exposed content to the requesting user, resulting in partial, non-deterministic heap disclosure. No public exploit code or active exploitation (CISA KEV) has been identified at time of analysis; a fix is referenced in the Cyrus IMAP 3.12.3 release notes.
RemediationAI
Upgrade to Cyrus IMAP version 3.12.3 or later, which addresses this vulnerability per the release notes at https://www.cyrusimap.org/3.12/imap/download/release-notes/3.12/x/3.12.3.html. The full release index at https://www.cyrusimap.org/imap/download/release-notes/index.html should be consulted to confirm the latest stable release for the deployed branch. If immediate upgrade is not feasible, restrict IMAP access to only fully trusted, internally managed user accounts - this reduces the attacker pool and the realistic likelihood of malicious message submission. Disabling any guest or externally provisioned IMAP authentication is a targeted compensating control, though it does not eliminate the flaw for internal authenticated users. There is no known configuration flag or feature toggle that disables RFC 822 comment parsing without impacting standard IMAP message handling; only patching resolves the underlying root cause.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Cyrus IMAP (cyrus-imapd), maintained under Carnegie Mellon University's Project Cyrus, is a widely self-hosted open-source IMAP/LMTP server. The vulnerability resides in the server's nested MIME comment parser for RFC 822 structured headers. CWE-126 (Buffer Over-read) identifies the root cause class: the parser encounters a backslash as the final character of an RFC 822 comment token and incorrectly interprets it as an escape sequence requiring a following character, advancing the read pointer past the legitimate end of the allocated message buffer into adjacent heap memory. The content read from that adjacent region is then returned to the requesting user. The affected CPE string cpe:2.3:a:cyrusimap:cyrus_imap:*:*:*:*:*:*:*:* encompasses all Cyrus IMAP releases up to and including 3.12.2.
Know when Cyrus Imap gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Network-accessible IMAP service requires valid credentials (PR:L); reliable heap data extraction depends on non-deterministic heap layout (AC:H); impact is confidentiality-only partial disclosure with no integrity or availability consequence.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
1DescriptionCVE.org
An issue was discovered in cyrus-imapd in Cyrus IMAP through 3.12.2. There is heap exposure in nested MIME comment parsing. An authenticated IMAP user could craft an email message containing an RFC 822 comment ending with a backslash. When parsing the message, the server would read past the message's end in memory, and read into the heap, returning the read content to the user.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
More in Cyrus Imap
View allCyrus IMAP before 3.0.3 allows remote authenticated users to write to arbitrary files via a crafted (1) SYNCAPPLY, (2) S
Unauthorized mailbox deletion in Cyrus IMAP through 3.12.2 allows any authenticated non-admin user to invoke the admin-o
Cyrus IMAP before 3.8.3 and 3.10.x before 3.10.0-rc1 allows authenticated attackers to cause unbounded memory allocation
Incorrect authorization in Cyrus IMAP through 3.12.2 allows authenticated users to bypass mailbox ACL enforcement via th
Cross-user information disclosure in Cyrus IMAP through 3.12.2 allows any authenticated IMAP user to enumerate folder na
Cyrus IMAP through 3.12.2 exposes mailbox ACL data to any authenticated user via the IMAP LISTRIGHTS command, which lack
URLAUTH token forgery in Cyrus IMAP through 3.12.2 allows a network-based unauthenticated attacker to read the contents
Cyrus IMAP through version 3.12.2 fails to invalidate URLAUTH-minted URLs when the authorizer's access is subsequently r
Unauthorized mailbox access in Cyrus IMAP through 3.12.2 allows any authenticated user to read email from mailboxes they
Cyrus IMAP through version 3.12.2 contains an authorization flaw in its XAPPLEPUSHSERVICE (XAPS) command that lets authe
EUVD-2026-45011
GHSA-f77j-qm5m-p6cw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB