CVE-2019-9851

CVE-2019-9851 is a critical-severity vulnerability in Libreoffice with a CVSS 3.x base score of 9.8. Its EPSS exploit-prediction score of 78% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-20.

Key facts

Description

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.

Frequently asked questions

What is CVE-2019-9851?
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.
How severe is CVE-2019-9851?
CVE-2019-9851 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2019-9851 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 78% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2019-9851?
CVE-2019-9851 primarily affects Libreoffice. In total, 10 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2019-9851?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
When was CVE-2019-9851 published?
CVE-2019-9851 was published on 2019-08-15 and last updated on 2026-06-17.

References

Affected products (10)

More vulnerabilities in Libreoffice

All CVEs affecting Libreoffice →

Other CWE-20 (Improper Input Validation) vulnerabilities

Browse all CWE-20 (Improper Input Validation) vulnerabilities →