CVE-2019-9854

Unsafe URL assembly flaw in allowed script location check

HIGH
7.8
CVSS Score
Published: September 6, 2019 at 06:30 PM UTC
Updated: June 17, 2026 at 02:44 AM UTC
7 products affected across 7 vendorsDebian LinuxFedoraUbuntu Linux

Using LibreOffice by Document Foundation?

Get instant alerts when new vulnerabilities affect LibreOffice - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 2%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.2.0 ≤ v < 6.2.76.3.0 ≤ v < 6.3.1
Affected range stops below 6.2.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.3.1, so it looks safe — our inference, not a vendor statement
6.2 ≤ v < 6.2.76.3 ≤ v < 6.3.16.26.3
Affected range stops below 6.2.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.3.1, so it looks safe — our inference, not a vendor statement

References (9)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card