Skip to content
OpenAdvisories
Unscored USN-5694-1 6 CVEs

libreoffice vulnerabilities

Published Oct 20, 2022 · Updated Apr 22, 2026

Summary

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)

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)

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.
(CVE-2020-12803)

It was discovered that LibreOffice incorrectly validated macro signatures.
If a user were tricked into opening a specially crafted document, a remote
attacker could possibly use this issue to execute arbitrary macros. This
issue only affected Ubuntu 18.04 LTS. (CVE-2022-26305)

It was discovered that Libreoffice incorrectly handled encrypting the
master key provided by the user for storing passwords for web connections.
A local attacker could possibly use this issue to obtain access to
passwords stored in the user’s configuration data. This issue only affected
Ubuntu 18.04 LTS. (CVE-2022-26306, CVE-2022-26307)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · 18.04 LTS 18.04:LTS libreoffice 1:6.0.7-0ubuntu0.18.04.12
Ubuntu · 20.04 LTS 20.04:LTS libreoffice 1:6.4.7-0ubuntu0.20.04.6
Ubuntu · 22.04 LTS 22.04:LTS libreoffice 1:7.3.6-0ubuntu0.22.04.2

Vulnerabilities 6

  • Unscored —

    Crash-recovered MSOffice encrypted documents defaulted to not to using encryption on next save

    If LibreOffice has an encrypted document open and crashes, that document is auto-saved encrypted. On restart, LibreOffice offers to restore the document and prompts for the password to decrypt it. If the recovery is successful, and if the file format of the r…

  • Unscored —

    XForms submissions could overwrite local files

    ODF documents can contain forms to be filled out by the user. Similar to HTML forms, the contained form data can be submitted to a URI, for example, to an external web server. To create submittable forms, ODF implements the XForms W3C standard, which allows d…

  • Unscored —

    Execution of Untrusted Macros Due to Improper Certificate Validation

    An Improper Certificate Validation vulnerability in LibreOffice existed where determining if a macro was signed by a trusted author was done by only matching the serial number and issuer string of the used certificate with that of a trusted certificate. This …

  • Unscored —

    Execution of Untrusted Macros Due to Improper Certificate Validation

    LibreOffice supports the storage of passwords for web connections in the user’s configuration database. The stored passwords are encrypted with a single master key provided by the user. A flaw in LibreOffice existed where the required initialization vector fo…

  • Unscored —

    Weak Master Keys

    LibreOffice supports the storage of passwords for web connections in the user’s configuration database. The stored passwords are encrypted with a single master key provided by the user. A flaw in LibreOffice existed where master key was poorly encoded resulti…

  • Unscored —

    Macro URL arbitrary script execution

    LibreOffice supports Office URI Schemes to enable browser integration of LibreOffice with MS SharePoint server. An additional scheme 'vnd.libreoffice.command' specific to LibreOffice was added. In the affected versions of LibreOffice links using that scheme c…

References

  • report
    https://ubuntu.com/security/CVE-2020-12801
  • report
    https://ubuntu.com/security/CVE-2020-12803
  • report
    https://ubuntu.com/security/CVE-2022-3140
  • report
    https://ubuntu.com/security/CVE-2022-26305
  • report
    https://ubuntu.com/security/CVE-2022-26306
  • report
    https://ubuntu.com/security/CVE-2022-26307