An issue was discovered in Cyrus IMAP before 3.12.4. A JMAP email-header blob ID can reference an out-of-bounds index. An authenticated user could attempt to download a crafted JMAP blob ID of the form H<emailid>-<index>, which could read past the end of the internal blob_headers array during download, exposing adjacent heap memory.
https://www.cyrusimap.org/3.12/imap/download/release-notes/3.8/x/3.8.8.html
https://www.cyrusimap.org/3.12/imap/download/release-notes/3.12/x/3.12.4.html
https://www.cyrusimap.org/3.12/imap/download/release-notes/3.10/x/3.10.4.html