---
title: 'USN-5694-1: LibreOffice vulnerabilities | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-5694-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-5694-1

---

# USN-5694-1: LibreOffice vulnerabilities

Publication date

20 October 2022

Overview

Several security issues were fixed in LibreOffice.

Releases

[22.04 LTS](https://ubuntu.com/security/notices?release=jammy)
[20.04 LTS](https://ubuntu.com/security/notices?release=focal)
[18.04 LTS](https://ubuntu.com/security/notices?release=bionic)

---

Open side navigation

## Packages

* [libreoffice](https://ubuntu.com/security/cves?package=libreoffice) - Office productivity suite

## Details

It was discovered that LibreOffice incorrectly handled links using the
Office URI Schemes. If a user were tricked into opening a specially
crafted document, a remote attacker could use this issue to execute
arbitrary scripts. ([CVE-2022-3140](https://ubuntu.com/security/CVE-2022-3140))

Thomas Florian discovered that LibreOffice incorrectly handled crashes when
an encrypted document is open. If the document is recovered upon restarting
LibreOffice, subsequent saves of the document were unencrypted. This issue
only affected Ubuntu 18.04 LTS. ([CVE-2020-12801](https://ubuntu.com/security/CVE-2020-12801))

Jens Müller discovered that LibreOffice incorrectly handled certain
documents containing forms. If a user were tricked into opening a specially
crafted document, a remote attacker could overwrite arbitrary files when
the form was submitted. This issue only affected Ubuntu 18.04 LTS.
(

---

Show more

## Update instructions

In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

The problem can be corrected by updating your system to the following package versions:

| Ubuntu Release | Package Version |
| --- | --- |
| 22.04 LTS jammy | [libreoffice](https://launchpad.net/ubuntu/+source/libreoffice) –  [1:7.3.6-0ubuntu0.22.04.2](https://launchpad.net/ubuntu/+source/libreoffice/1:7.3.6-0ubuntu0.22.04.2) | | |
| 20.04 LTS focal | [libreoffice](https://launchpad.net/ubuntu/+source/libreoffice) –  [1:6.4.7-0ubuntu0.20.04.6](https://launchpad.net/ubuntu/+source/libreoffice/1:6.4.7-0ubuntu0.20.04.6) | | |
| 18.04 LTS bionic | [libreoffice](https://launchpad.net/ubuntu/+source/libreoffice) –  [1:6.0.7-0ubuntu0.18.04.12](https://launchpad.net/ubuntu/+source/libreoffice/1:6.0.7-0ubuntu0.18.04.12) | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2022-3140](https://ubuntu.com/security/CVE-2022-3140)
* [CVE-2022-26307](https://ubuntu.com/security/CVE-2022-26307)
* [CVE-2022-26306](https://ubuntu.com/security/CVE-2022-26306)
* [CVE-2022-26305](https://ubuntu.com/security/CVE-2022-26305)
* [CVE-2020-12803](https://ubuntu.com/security/CVE-2020-12803)
* [CVE-2020-12801](https://ubuntu.com/security/CVE-2020-12801)

## Related notices

* [USN-5661-1](https://ubuntu.com/security/notices/USN-5661-1)
