CVE-2021-31855Kde Messagelib
Medium 6.5
Follow: this CVE · Kde · Kde Messagelib We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 51
- Auth required
- Yes
- Published
- Jun 2, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-312
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Messagelib.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| kde | messagelib | ≤ 5.17.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com
- kde.org Vendor Advisory