patchminder
Weaponized · Metasploit CVE-2019-9851

Vulnerabilityin Document Foundation LibreOffice.

Published 15 Aug 2019 · Updated 16 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Not scored
No source has scored it yet
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 77.8% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 6.2.6 or later
In plain words

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.

What to do now
  • 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.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
LibreOffice
before 6.2.6
6.2.6
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. 16 Jul 2019
    Metasploit module: LibreOffice Macro Python Code Execution.
  3. 15 Aug 2019
    Published in the CVE List.
  4. 16 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
1 entry
GitHub proof of concepts
None known
Exploit-DBEDB-ID 47298remote exploit for multiple, published 21 Aug 2019

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-9851: Vulnerability in Document Foundation LibreOffice. https://patchminder.com/cve/cve-2019-9851/ (accessed 5 December 2026).