Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2019-9851: LibreLogo global-event script execution

Published Aug 15, 2019 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS77.8%100th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Debian ProjectFedora ProjectLibreofficeOpensuseCanonical
IdentifiersCVE-2019-9851CWE-863

CVE-2019-9851 is a script-execution vulnerability in LibreOffice before version 6.2.6. Protections introduced for CVE-2019-9848 blocked invocation of LibreLogo through document event script handlers but did not apply equivalent validation to global script event handlers. A crafted document can use global events, such as document-open, to invoke pre-installed scripts. Because LibreLogo can execute Python commands embedded in the document from which it is launched, this validation gap can result in arbitrary code execution.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An attacker can cause arbitrary code execution by persuading a user to open a specially crafted document in a vulnerable LibreOffice installation. Execution occurs with the privileges of the LibreOffice process, potentially compromising data and resources accessible to that user.

Mitigation

If you can’t patch tonight, do this now.

Until patched, avoid opening untrusted documents in affected LibreOffice installations, particularly where LibreLogo is installed. A vendor-confirmed workaround is not specified.

Remediation

Patch, then assume compromise.

Upgrade LibreOffice to version 6.2.6 or later, or install distribution packages containing the backported fix. Fixed versions validate global script event handlers equivalently to document script event handlers. Distribution fixes include Debian stretch 1:5.2.7-1+deb9u10, Debian buster 1:6.1.5-3+deb10u3, Debian Jessie 1:4.3.3-2+deb8u13, Fedora 29 6.1.6.3-3.fc29, Ubuntu 19.04 1:6.2.6-0ubuntu0.19.04.1, Ubuntu 18.04 LTS 1:6.0.7-0ubuntu0.18.04.9, and Ubuntu 16.04 LTS 1:5.1.6~rc2-0ubuntu1~xenial9. Restart LibreOffice after updating.

Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
CanonicalUbuntu Linuxoperating_system
Debian ProjectDebian Linuxoperating_system
Fedora ProjectFedoraoperating_system
LibreofficeLibreofficeapplication
OpensuseOpensuse Leapoperating_system
FAQ

Frequently asked questions

Is CVE-2019-9851 exploited in the wild?
As of Nov 23, 2026, Mallory has no reports of CVE-2019-9851 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2019-9851?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2019-9851, the earliest disclosed Jul 16, 2019.
Is there a patch for CVE-2019-9851?
Upgrade LibreOffice to version 6.2.6 or later, or install distribution packages containing the backported fix. Fixed versions validate global script event handlers equivalently to document script event handlers.
What products are affected by CVE-2019-9851?
Libreoffice, Debian Project Debian Linux, Fedora Project Fedora, Opensuse Leap, and Canonical Ubuntu Linux.
How severe is CVE-2019-9851?
CVE-2019-9851 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 77.8% (100th percentile) as of Nov 23, 2026.
Activity feed

Recent activity

8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+1 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.