Vulnerabilityin Document Foundation LibreOffice.
Weaponized: a Metasploit exploit is public.
LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitrary python commands contained with the document it is launched from. Protection was added, to address CVE-2019-9848, to block calling LibreLogo from document event script handers, e.g. mouse over. However LibreOffice also has a separate feature where documents can specify that pre-installed scripts can be executed on various global script events such as document-open, etc. In the fixed versions, global script event handlers are validated equivalently to document script event handlers. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.
- Upgrade LibreOffice to 6.2.6 or later.
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..
- 16 Jul 2019Metasploit module: LibreOffice Macro Python Code Execution.
- 15 Aug 2019Published in the CVE List.
- 16 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit).
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
Other LibreOffice vulnerabilities
- www.libreoffice.org x_refsource_CONFIRM
- seclists.org mailing-list, x_refsource_BUGTRAQ
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- packetstormsecurity.com x_refsource_MISC
- 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.opensuse.org vendor-advisory, x_refsource_SUSE
- lists.debian.org mailing-list, x_refsource_MLIST
Patchminder. CVE-2019-9851: Vulnerability in Document Foundation LibreOffice. https://patchminder.com/cve/cve-2019-9851/ (accessed 5 December 2026).