Description
KDE Messagelib through 5.17.0 reveals cleartext of encrypted messages in some situations. Deleting an attachment of a decrypted encrypted message stored on a remote server (e.g., an IMAP server) causes KMail to upload the decrypted content of the message to the remote server. With a crafted message, a user could be tricked into decrypting an encrypted message and then deleting an attachment attached to this message. If the attacker has access to the messages stored on the email server, then the attacker could read the decrypted content of the encrypted message. This occurs in ViewerPrivate::deleteAttachment in messageviewer/src/viewer/viewer_p.cpp.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | kf5-messagelib | 4:20.08.3-5 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | kf5-messagelib | No fix yet | — |
| Ubuntu 22.04 LTS | kf5-messagelib | No fix yet | — |
| Ubuntu 20.04 LTS | kf5-messagelib | No fix yet | — |
| Ubuntu 18.04 LTS | kdepim4 | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | kf5-messagelib | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | messagelib | 21.08.1-1.2 | openSUSE-SU-2024:11046-1 |
Advisories 1
- openSUSE-SU-2024:11046-1 messagelib-21.08.1-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026