Home / Document Foundation / LibreOffice / CVE-2019-9852
CVE-2019-9852: is it exploited, and which versions of Document Foundation LibreOffice are affected and fixed?
CVE-2019-9852 is an improper output encoding vulnerability in Document Foundation LibreOffice. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: LibreOffice before 6.2.6 (CVE record by Document Fdn.). Fixed in 6.2.6 (CVE record by Document Fdn.). Severity: High (7.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 28, 2026, 20:40 UTC and NVD November 19, 2026, 08:20 UTC.
What is CVE-2019-9852?
Insufficient URL encoding flaw in allowed script location check
LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2018-16858, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed. However this new protection could be bypassed by a URL encoding attack. In the fixed versions, the parsed url describing the script location is correctly encoded before further processing. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.
From the CVE record by Document Fdn., last updated September 17, 2024, 03:42 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Document Foundation | LibreOffice | before 6.2.6 | 6.2.6 |
As the CVE record by Document Fdn. states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| canonical | ubuntu linux | 19.04 | operating system |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
| fedoraproject | fedora | 29 | operating system |
| opensuse | leap | 15.0 | operating system |
| opensuse | leap | 15.1 | operating system |
| libreoffice | libreoffice | before 6.2.6 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:44 UTC.
How severe is CVE-2019-9852?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-9852 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.75% probability of exploitation activity in the next 30 days, percentile 78.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-116 Improper Encoding or Escaping of Output
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9852 x_refsource_MISC
- 20190815 [SECURITY] [DSA 4501-1] libreoffice security update mailing-list, x_refsource_BUGTRAQ
- DSA-4501 vendor-advisory, x_refsource_DEBIAN
- FEDORA-2019-2fe22a3a2c vendor-advisory, x_refsource_FEDORA
- USN-4102-1 vendor-advisory, x_refsource_UBUNTU
- openSUSE-SU-2019:2057 vendor-advisory, x_refsource_SUSE
- 20190910 [SECURITY] [DSA 4519-1] libreoffice security update mailing-list, x_refsource_BUGTRAQ
- openSUSE-SU-2019:2183 vendor-advisory, x_refsource_SUSE
- [debian-lts-announce] 20191006 [SECURITY] [DLA 1947-1] libreoffice security update mailing-list, x_refsource_MLIST
Who found and reported it?
- Thanks to Nils Emmerich of ERNW Research GmbH for discovering and reporting this issue (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 17, 2019
- Published
- August 15, 2019, 21:40 UTC
- CVE record updated
- September 17, 2024, 03:42 UTC by Document Fdn.
- NVD
- Modified, last modified June 17, 2026, 02:44 UTC
- Last checked
- CVE list November 28, 2026, 20:40 UTC; NVD November 19, 2026, 08:20 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect LibreOffice?
- Sep 27, 2019CVE-2019-9853 Document Foundation LibreOffice: improper output encoding
- Sep 6, 2019CVE-2019-9855 Document Foundation LibreOffice: Windows 8.3 path equivalence handling flaw
- Sep 6, 2019CVE-2019-9854 Document Foundation LibreOffice: path traversal (reading or writing files outside the intended folder)
- Aug 15, 2019CVE-2019-9851 Document Foundation LibreOffice: improper input validation
- Aug 15, 2019CVE-2019-9850 Document Foundation LibreOffice: improper input validation
- Jul 17, 2019CVE-2019-9849 Document Foundation LibreOffice: In 'stealth mode' where only trusted documents are allowed to download remote resources untrusted documents could downlo
- Jul 17, 2019CVE-2019-9848 Document Foundation LibreOffice: code injection (remote code execution)
- May 9, 2019CVE-2019-9847 Document Foundation LibreOffice: improper input validation
Questions about CVE-2019-9852
Is CVE-2019-9852 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 1.75% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Document Foundation LibreOffice are affected by CVE-2019-9852?
LibreOffice before 6.2.6, per the CVE record by Document Fdn.. The tables above give every range the sources list.
Which version fixes CVE-2019-9852?
6.2.6, per the CVE record by Document Fdn.. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-9852?
High (7.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2019-9852?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.