CVE-2021-31855
publishedkmail: deleting attachments can disclose content of encrypted messages
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Tumbleweed | messagelibaarch64 | Advisory build | 21.08.1-1.2 | OPENSUSE-SU-2024:11046-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | messagelibppc64le | Advisory build | 21.08.1-1.2 | OPENSUSE-SU-2024:11046-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | messagelibs390x | Advisory build | 21.08.1-1.2 | OPENSUSE-SU-2024:11046-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | messagelibx86_64 | Advisory build | 21.08.1-1.2 | OPENSUSE-SU-2024:11046-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | messagelib-develaarch64 | Advisory build | 21.08.1-1.2 | OPENSUSE-SU-2024:11046-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | messagelib-develppc64le | Advisory build | 21.08.1-1.2 | OPENSUSE-SU-2024:11046-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | messagelib-devels390x | Advisory build | 21.08.1-1.2 | OPENSUSE-SU-2024:11046-1 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | messagelib-develx86_64 | Advisory build | 21.08.1-1.2 | OPENSUSE-SU-2024:11046-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | messagelib-langaarch64 | Advisory build | 21.08.1-1.2 | OPENSUSE-SU-2024:11046-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | messagelib-langppc64le | Advisory build | 21.08.1-1.2 | OPENSUSE-SU-2024:11046-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | messagelib-langs390x | Advisory build | 21.08.1-1.2 | OPENSUSE-SU-2024:11046-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | messagelib-langx86_64 | Advisory build | 21.08.1-1.2 | OPENSUSE-SU-2024:11046-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
2Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6f405a463fc99a3efa6f512e2575582aa07a1ed5027e2226bceaa1e2500e93ce
- Ingested
- 23 Sep 2026, 07:54:21 UTC
- Source record
- Official CVE record