DescriptionKDE 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs989438

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
kf5-messagelib (PTS)buster4:18.08.3-2vulnerable
sid, trixie4:22.12.3-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[buster] - kf5-messagelib <no-dsa> (Minor issue)
[stretch] - kf5-messagelib <no-dsa> (Minor issue)
[stretch] - kdepim4 <no-dsa> (Minor issue)

Search for package or bug name: Reporting problems