CVE catalog

CVE-2021-34813

olm: CVE-2021-34813

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
4.26% · Oct 25, 2026

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

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianolmsid3.2.16+dfsg-6fixed
Debianolmforky3.2.16+dfsg-6fixed
Debianolmtrixie3.2.16+dfsg-3fixed
Debianolmbookworm3.2.13~dfsg-1fixed
Ubuntuolmpro3.1.3+dfsg-2vulnerable
Ubuntuolmpro3.1.3+dfsg-2build1vulnerable
Ubuntuolmpro3.1.3+dfsg-2build2vulnerable
Ubuntuolmpro3.1.3+dfsg-2ubuntu0.1~esm1fixed
Ubuntuolmpro3.1.3+dfsg-2vulnerable
Ubuntuolmpro3.1.3+dfsg-2build1vulnerable
Ubuntuolmpro3.1.3+dfsg-2build2vulnerable
Ubuntuolmpro3.1.3+dfsg-2ubuntu0.1~esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianolmsourcesid3.2.3~dfsg-3not yet assignedNot reported[989997]
Debianolmsourceforky3.2.3~dfsg-3not yet assignedNot reported[989997]
Debianolmsourcetrixie3.2.3~dfsg-3not yet assignedNot reported[989997]
Debianolmsourcebookworm3.2.3~dfsg-3not yet assignedNot reported[989997]
Ubuntuolmdebpro3.1.3+dfsg-2ubuntu0.1~esm1Not reportedUBUNTU-CVE-2021-34813Not reported
Ubuntuolmdebpro3.1.3+dfsg-2ubuntu0.1~esm1Not reportedUSN-5194-1Not reported

[Debian bug #989997]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libjs-olm]Fixed

    Source package: [olm]

    Details (2)
    • 3.2.13~dfsg-1 · all · bookworm

      Fixed · Fixed: 3.2.3~dfsg-3

      dsa · olm · debian · bookworm; dsa · olm · debian · 12

    • 3.2.13~dfsg-1 · all · bookworm

      Fixed · Fixed: 3.2.3~dfsg-3

      dsa · olm · debian · bookworm; dsa · olm · debian · 12

  • [libolm3]Fixed

    Source package: [olm]

    Details (2)
    • 3.2.13~dfsg-1 · amd64 · bookworm

      Fixed · Fixed: 3.2.3~dfsg-3

      dsa · olm · debian · bookworm; dsa · olm · debian · 12

    • 3.2.13~dfsg-1 · arm64 · bookworm

      Fixed · Fixed: 3.2.3~dfsg-3

      dsa · olm · debian · bookworm; dsa · olm · debian · 12

  • [libolm-dev]Fixed

    Source package: [olm]

    Details (2)
    • 3.2.13~dfsg-1 · amd64 · bookworm

      Fixed · Fixed: 3.2.3~dfsg-3

      dsa · olm · debian · bookworm; dsa · olm · debian · 12

    • 3.2.13~dfsg-1 · arm64 · bookworm

      Fixed · Fixed: 3.2.3~dfsg-3

      dsa · olm · debian · bookworm; dsa · olm · debian · 12

  • Source package: [olm]

    Details (2)
    • 3.2.13~dfsg-1 · amd64 · bookworm

      Fixed · Fixed: 3.2.3~dfsg-3

      dsa · olm · debian · bookworm; dsa · olm · debian · 12

    • 3.2.13~dfsg-1 · arm64 · bookworm

      Fixed · Fixed: 3.2.3~dfsg-3

      dsa · olm · debian · bookworm; dsa · olm · debian · 12

[Debian 13 (Trixie)]

  • [libolm3]Fixed

    Source package: [olm]

    Details (2)
    • 3.2.16+dfsg-3 · amd64 · trixie

      Fixed · Fixed: 3.2.3~dfsg-3

      dsa · olm · debian · 13

    • 3.2.16+dfsg-3 · arm64 · trixie

      Fixed · Fixed: 3.2.3~dfsg-3

      dsa · olm · debian · 13

  • [libolm-dev]Fixed

    Source package: [olm]

    Details (2)
    • 3.2.16+dfsg-3 · amd64 · trixie

      Fixed · Fixed: 3.2.3~dfsg-3

      dsa · olm · debian · 13

    • 3.2.16+dfsg-3 · arm64 · trixie

      Fixed · Fixed: 3.2.3~dfsg-3

      dsa · olm · debian · 13

  • Source package: [olm]

    Details (2)
    • 3.2.16+dfsg-3 · amd64 · trixie

      Fixed · Fixed: 3.2.3~dfsg-3

      dsa · olm · debian · 13

    • 3.2.16+dfsg-3 · arm64 · trixie

      Fixed · Fixed: 3.2.3~dfsg-3

      dsa · olm · debian · 13

Observed:

References