Live threats

All CVEs / Libreoffice

CVE-2019-9854Libreoffice

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
1.8%
probability of exploitation in 30 days · percentile 78
Auth required
Yes
Published
Sep 6, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2019-9852, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed by employing a URL encoding attack to defeat the path verification step. However this protection could be bypassed by taking advantage of a flaw in how LibreOffice assembled the final script URL location directly from components of the passed in path as opposed to solely from the sanitized output of the path verification step. This issue affects: Document Foundation LibreOffice 6.2 versions prior to 6.2.7; 6.3 versions prior to 6.3.1.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libreoffice.

Affected products (CPE)

VendorProductVersions
libreofficelibreoffice≥ 6.2.0 < 6.2.7
libreofficelibreoffice≥ 6.3.0 < 6.3.1
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux19.04
debiandebian_linux8.0
debiandebian_linux9.0
debiandebian_linux10.0
fedoraprojectfedora29
opensuseleap15.0
opensuseleap15.1
redhatenterprise_linux7.0
redhatenterprise_linux8.0

Official sources

References

Links published by the sources. Open them with care.