CVE-2019-9854Libreoffice
High 7.8
Follow: this CVE · Libreoffice · Libreoffice We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Libreoffice.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libreoffice | libreoffice | ≥ 6.2.0 < 6.2.7 |
| libreoffice | libreoffice | ≥ 6.3.0 < 6.3.1 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
| canonical | ubuntu_linux | 19.04 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| fedoraproject | fedora | 29 |
| opensuse | leap | 15.0 |
| opensuse | leap | 15.1 |
| redhat | enterprise_linux | 7.0 |
| redhat | enterprise_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Third Party Advisory
- lists.opensuse.org Third Party Advisory
- lists.debian.org Third Party Advisory
- lists.fedoraproject.org
- seclists.org Mailing List Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.libreoffice.org Vendor Advisory
- bugzilla.redhat.com Third Party Advisory