Path traversalin Document Foundation LibreOffice.
No public exploit found; not on exploited lists.
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.
- 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.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 17 Mar 2019CVE ID reserved by Document Fdn..
- 6 Sep 2019Published in the CVE List.
- 16 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
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.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other LibreOffice vulnerabilities
- www.libreoffice.org x_refsource_CONFIRM
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- seclists.org mailing-list, x_refsource_BUGTRAQ
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- lists.debian.org mailing-list, x_refsource_MLIST
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
Patchminder. CVE-2019-9854: Path traversal in Document Foundation LibreOffice. https://patchminder.com/cve/cve-2019-9854/ (accessed 5 December 2026).