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.
CVE-2019-9851
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2022-05-24. NVD baseline CVSS 9.8; sources differ by 0.0.
- High exploitation likelihood — EPSS 78%
- Public exploit code is available (Metasploit, epss top5pct, epss high, public exploit)
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 80(Track*)EG Risk 80/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation78% × 40%Automatability30% × 15%Action: Watch closely — could escalate to Attend. - EPSS PROB
- 78%
- EPSS %ILE
- 100%
- KEV
- Not listed
Published
August 15, 2019
Last Modified
November 21, 2024
Advisory Details (6)
Auto-updated Aug 16, 2026Security advisories — LibreOffice
https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9851[SECURITY] [DSA 4501-1] libreoffice security update
https://www.debian.org/security/2019/dsa-4501Bugtraq: [SECURITY] [DSA 4501-1] libreoffice security update
https://seclists.org/bugtraq/2019/Aug/28[SECURITY] Fedora 29 Update: libreoffice-6.1.6.3-3.fc29 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/[SECURITY] [DLA 1947-1] libreoffice security update
https://lists.debian.org/debian-lts-announce/2019/10/msg00005.htmlLocked Out | Packet Storm
http://packetstormsecurity.com/files/154168/LibreOffice-Macro-Python-Code-Execution.htmlPatch Availability(3)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | ure (5.1.6~rc2-0ubuntu1~xenial9) @ xenial | 2026-05-23 | ubuntu |
| redhat | libreoffice-1:6.0.6.1-20.el8 | 2020-04-28 | redhat |
| redhat | libreoffice-1:5.3.6.1-24.el7 | 2020-03-31 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(7 across 7 ecosystems)
Debian:10(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libreoffice | 1:6.1.5-3, 1:6.1.5-3+deb10u1, 1:6.1.5-3+deb10u2, 1:6.1.5-3+deb10u2~bpo9+1 | 1:6.1.5-3+deb10u3 | — |
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libreoffice | — | 1:6.3.0-1 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libreoffice | — | 1:6.3.0-1 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libreoffice | — | 1:6.3.0-1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libreoffice | — | 1:6.3.0-1 | — |
Debian:8(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libreoffice | 1:4.3.3-2 ... 1:4.3.3-2+deb8u9 (17 versions) | 1:4.3.3-2+deb8u13 | — |
Debian:9(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libreoffice | 1:5.2.7-1 ... 1:5.2.7-1+deb9u9 (12 versions) | 1:5.2.7-1+deb9u10 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(3)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 5× in last 7d / 16× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-19 17:00 UTCEPSS rescore
- 2026-08-16 14:52 UTCEPSS rescore
- 2026-08-16 02:11 UTCEPSS rescore
- 2026-08-15 01:26 UTCEPSS rescore
- 2026-08-14 22:24 UTCOSV refresh
- 2026-08-12 13:47 UTCEPSS rescore
- 2026-08-05 19:14 UTCEPSS rescore
- 2026-08-04 10:34 UTCEPSS rescore
- 2026-08-03 10:32 UTCEPSS rescore
- 2026-07-30 16:24 UTCEPSS rescore
- 2026-07-30 11:14 UTCOSV refresh
- 2026-07-28 15:32 UTCEPSS rescore
- 2026-07-26 14:51 UTCEPSS rescore
- 2026-07-24 14:14 UTCEPSS rescore
- 2026-07-23 01:47 UTCEG score recompute
- 2026-07-22 22:30 UTCEG score recompute
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-12 20:08 UTCOSV refresh
- 2026-07-12 05:44 UTCEPSS rescore
Show 47 moreShow fewer
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 05:59 UTCOSV refresh
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:19 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 09:32 UTCOSV refresh
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-23 03:09 UTCEG score recompute
- 2026-05-23 03:09 UTCVendor advisory
- 2026-05-23 03:09 UTCGHSA enrichment
Publicly available exploits
(2 references)Working exploit code is in the public domain (1 Metasploit module) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-47298First seen Aug 21, 2019
LibreOffice < 6.2.6 Macro - Python Code Execution (Metasploit)
Open source ↗ - Metasploitexploit/multi/fileformat/libreoffice_logo_exec✓ verifiedFirst seen Jul 16, 2019
LibreOffice Macro Python Code Execution
Open source ↗
Frequently asked(5)
What is CVE-2019-9851?
When was CVE-2019-9851 disclosed?
Is CVE-2019-9851 actively exploited?
What is the CVSS score of CVE-2019-9851?
How do I remediate CVE-2019-9851?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2019-9851
Is Your Infrastructure Affected by CVE-2019-9851?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.