CVE-2021-34813

NameCVE-2021-34813
DescriptionMatrix libolm before 3.2.3 allows a malicious Matrix homeserver to crash a client (while it is attempting to retrieve an Olm encrypted room key backup from the homeserver) because olm_pk_decrypt has a stack-based buffer overflow. Remote code execution might be possible for some nonstandard build configurations.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs989997

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
olm (PTS)bullseye3.2.1~dfsg-7vulnerable
bookworm3.2.13~dfsg-1fixed
sid, trixie3.2.16+dfsg-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
olmsourceexperimental3.2.3~dfsg-1
olmsource(unstable)3.2.3~dfsg-3989997

Notes

[bullseye] - olm <no-dsa> (Minor issue)
[buster] - olm <no-dsa> (Minor issue)
https://gitlab.matrix.org/matrix-org/olm/-/commit/ccc0d122ee1b4d5e5ca4ec1432086be17d5f901b
https://gitlab.matrix.org/matrix-org/olm/-/releases/3.2.3
https://matrix.org/blog/2021/06/14/adventures-in-fuzzing-libolm

Search for package or bug name: Reporting problems