CVE-2019-9848
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedLibreOffice has a feature where documents can specify that pre-installed scripts can be executed on various document events such as mouse-over, etc. LibreOffice is typically also bundled with LibreLogo, a programmable turtle vector graphics script, which can be manipulated into executing arbitrary python commands. By using the document event feature to trigger LibreLogo to execute python contained within a document a malicious document could be constructed which would execute arbitrary python commands silently without warning. In the fixed versions, LibreLogo cannot be called from a document event handler. This issue affects: Document Foundation LibreOffice versions prior to 6.2.5.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceLibreOffice allows documents to trigger pre-installed scripts via document events (e.g., mouse-over). The bundled LibreLogo component can be manipulated to execute arbitrary Python commands by embedding python code in a document that triggers LibreLogo through the event handler, enabling silent remote code execution without user warning.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 16.04= 18.04= 19.04= 29= 30= 8.0< 6.2.5= 15.0= 15.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed LibreOffice versionRun ' libreoffice --version ' or check the package manager (dpkg -r, rpm -q, apt list) for the installed libreoffice package versionAffected if Version is less than 6.2.5 (e.g., 6.1.x, 6.0.x, 5.x) or the package version matches the vulnerable distribution versions (Ubuntu 16.04/18.04/19.04, Fedora 29/30, Debian 8.0, openSUSE 15.0/15.1)
-
Locate the LibreLogo extensionCheck for the presence of the LibreLogo component in the LibreOffice installation directory, commonly found under /usr/lib/libreoffice/program/librelogo.py or within the LibreLogo extension directory (look for librelogo*.oxt or librelogo.py)Affected if The LibreLogo script file exists in the LibreOffice installation directory, indicating the vulnerable component is present
-
Verify LibreLogo is enabledOpen LibreOffice, go to Tools > Extension Manager, or inspect the user profile directory (~/.config/libreoffice//user/extensions) to see if LibreLogo is listed as an active extensionAffected if LibreLogo appears as an installed or enabled extension in the user's LibreOffice configuration
-
Confirm document event handler supportThis is a native LibreOffice feature; the vulnerability triggers when a document containing embedded LibreLogo event handlers (e.g., mouse-over) is opened. There is no simple config check - the vulnerability exists if LibreLogo is present and the version is affectedAffected if The installed LibreOffice version is vulnerable AND LibreLogo component exists in the installation
A system is affected if LibreOffice version is less than 6.2.5 (or matches the listed distribution-specific vulnerable versions) AND the LibreLogo component is present and enabled on the system.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped6.2.5
Update to LibreOffice 6.2.5 or later where LibreLogo cannot be invoked from document event handlers; alternatively, disable or remove the LibreLogo extension.
LibreOffice 6.2.5 or later (any modern LibreOffice version includes the fix)
- Upgrade LibreOffice to version 6.2.5 or later to remediate this vulnerability
- For Ubuntu systems: Run 'sudo apt update && sudo apt upgrade' to install the latest LibreOffice package from official repositories, or manually download LibreOffice 6.2.5+ from libreoffice.org
- For Fedora systems: Run 'sudo dnf update libreoffice' to apply available security updates
- For Debian systems: Consider upgrading to Debian 10+ for newer LibreOffice packages, or manually install LibreOffice 6.2.5+ from official sources
- For openSUSE Leap: Check for available updates via 'sudo zypper update' or install LibreOffice 6.2.5+ from the LibreOffice website
- After upgrade, verify the version by opening LibreOffice Writer and going to Help > About LibreOffice
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation2.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,392.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2019-9848 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2019-9848 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data