patchminder
No public exploit found CVE-2019-9854

Path traversalin Document Foundation LibreOffice.

Published 6 Sep 2019 · Updated 16 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Not scored
No source has scored it yet
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.8% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 6.2.7, 6.3.1
In plain words

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.

What to do now
  • Upgrade LibreOffice to 6.2.7, 6.3.1 or later, whichever matches your release line.

Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
LibreOffice
6.2 to before 6.2.7
6.2.7
CVE record
LibreOffice
6.3 to before 6.3.1
6.3.1
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 17 Mar 2019
    CVE ID reserved by Document Fdn..
  2. 6 Sep 2019
    Published in the CVE List.
  3. 16 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other LibreOffice vulnerabilities

References
Cite this page

Patchminder. CVE-2019-9854: Path traversal in Document Foundation LibreOffice. https://patchminder.com/cve/cve-2019-9854/ (accessed 5 December 2026).