CVE-2021-34813

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-34813
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-34813.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-34813
Related
Published
2021-06-16T18:15:09Z
Modified
2025-07-02T00:04:05.764135Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Matrix 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 olmpkdecrypt has a stack-based buffer overflow. Remote code execution might be possible for some nonstandard build configurations.

References

Affected packages

Debian:11 / olm

Package

Name
olm
Purl
pkg:deb/debian/olm?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.2.1~dfsg-7
3.2.3~dfsg-1
3.2.3~dfsg-2
3.2.3~dfsg-3
3.2.4~dfsg-1
3.2.6~dfsg-1
3.2.6~dfsg-2
3.2.7~dfsg-1
3.2.7~dfsg-2
3.2.8~dfsg-1
3.2.10~dfsg-1
3.2.10~dfsg-2
3.2.10~dfsg-3
3.2.10~dfsg-4
3.2.10~dfsg-5
3.2.10~dfsg-6
3.2.11~dfsg-1~bpo11+1
3.2.11~dfsg-1
3.2.12~dfsg-1
3.2.13~dfsg-1
3.2.15~dfsg-1
3.2.16+dfsg-1
3.2.16+dfsg-2
3.2.16+dfsg-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / olm

Package

Name
olm
Purl
pkg:deb/debian/olm?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.3~dfsg-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / olm

Package

Name
olm
Purl
pkg:deb/debian/olm?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.3~dfsg-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / gitlab.matrix.org/matrix-org/olm

Affected ranges

Type
GIT
Repo
https://gitlab.matrix.org/matrix-org/olm
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1.0

1.*

1.0.0
1.1.0
1.2.0
1.3.0

2.*

2.0.0
2.1.0
2.2.0
2.2.1
2.2.2
2.3.0

3.*

3.0.0
3.1.0
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5
3.2.0
3.2.1
3.2.2

AndroidSdk_v0.*

AndroidSdk_v0.1.0
AndroidSdk_v0.2.0

olmkit-v2.*

olmkit-v2.0.0