CVE-2019-9852 json
Insufficient URL encoding flaw in allowed script location check
published 2019-08-15 7 y ago modified 2026-06-17 4 mo ago also EUVD-2019-19208
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Document Foundation LibreOffice 6.2.6
- libreoffice Debian 14, Debian 13, Debian 12 1:6.3.0-1
debian advisories DEBIAN-CVE-2019-9852
- libreoffice Ubuntu 16.04 LTS 1:5.1.6~rc2-0ubuntu1~xenial9
- libreoffice Ubuntu 18.04 LTS 1:6.0.7-0ubuntu0.18.04.9
ubuntu advisories UBUNTU-CVE-2019-9852
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libreoffice RHEL 8 1:6.0.6.1-20.el8
- autocorr-af RHEL 8 1:6.0.6.1-20.el8
- autocorr-bg RHEL 8 1:6.0.6.1-20.el8
- autocorr-ca RHEL 8 1:6.0.6.1-20.el8
- autocorr-cs RHEL 8 1:6.0.6.1-20.el8
- autocorr-da RHEL 8 1:6.0.6.1-20.el8
- autocorr-de RHEL 8 1:6.0.6.1-20.el8
- autocorr-en RHEL 8 1:6.0.6.1-20.el8
red hat advisories RHSA-2020:1598RHSA-2020:1151
- libreoffice SLE Workstation Extension 15 SP1 6.2.7.1-8.10.1
- libreoffice SLED 12 SP4, SLE Workstation Extension 12 SP4, SLE Software Development Kit 12 SP4 6.2.7.1-43.56.3
- libreoffice SLE Workstation Extension 15 6.2.6.2-3.21.1
suse advisories SUSE-SU-2019:2402-1SUSE-SU-2019:2401-1SUSE-SU-2019:2231-1
- libreoffice openSUSE Leap 15.1 6.2.7.1-lp151.3.6.1
- libreoffice openSUSE Leap 15.0 6.2.6.2-lp150.2.16.1
opensuse advisories openSUSE-SU-2019:2183-1openSUSE-SU-2019:2057-1
- libreoffice Alpine 3.10 6.2.6.2-r0
- libreoffice Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 6.3.0.4-r0
alpine advisories ALPINE-CVE-2019-9852
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-9852 updated cvss 7.8
libreoffice: Insufficient URL encoding flaw in allowed script location check
-
Red Hat Enterprise Linux 6 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +60 moreaffected: no fix planned “Out of support scope”
-
Red Hat CodeReady Linux Builder (v. 8) libreoffice-sdk 6.0.6.1-20.el8, libreoffice-x11 6.0.6.1-20.el8, libreoffice-gtk2 6.0.6.1-20.el8 Red Hat Enterprise Linux AppStream (v. 8) autocorr-af 6.0.6.1-20.el8, autocorr-bg 6.0.6.1-20.el8, autocorr-ca 6.0.6.1-20.el8, autocorr-cs 6.0.6.1-20.el8, autocorr-da 6.0.6.1-20.el8, autocorr-de 6.0.6.1-20.el8, +96 morefixed: vendor fix RHSA-2020:1598
-
Red Hat Enterprise Linux Client (v. 7) autocorr-af 5.3.6.1-24.el7, autocorr-bg 5.3.6.1-24.el7, autocorr-ca 5.3.6.1-24.el7, autocorr-cs 5.3.6.1-24.el7, autocorr-da 5.3.6.1-24.el7, autocorr-de 5.3.6.1-24.el7, +51 more Red Hat Enterprise Linux Client Optional (v. 7) libreoffice 5.3.6.1-24.el7, libreoffice-bsh 5.3.6.1-24.el7, libreoffice-sdk 5.3.6.1-24.el7, libreoffice-glade 5.3.6.1-24.el7, libreoffice-rhino 5.3.6.1-24.el7, libreoffice-help-ar 5.3.6.1-24.el7, +48 more Red Hat Enterprise Linux Server Optional (v. 7) autocorr-af 5.3.6.1-24.el7, autocorr-bg 5.3.6.1-24.el7, autocorr-ca 5.3.6.1-24.el7, autocorr-cs 5.3.6.1-24.el7, autocorr-da 5.3.6.1-24.el7, autocorr-de 5.3.6.1-24.el7, +104 more Red Hat Enterprise Linux Workstation (v. 7) autocorr-af 5.3.6.1-24.el7, autocorr-bg 5.3.6.1-24.el7, autocorr-ca 5.3.6.1-24.el7, autocorr-cs 5.3.6.1-24.el7, autocorr-da 5.3.6.1-24.el7, autocorr-de 5.3.6.1-24.el7, +51 more Red Hat Enterprise Linux Workstation Optional (v. 7) libreoffice 5.3.6.1-24.el7, libreoffice-bsh 5.3.6.1-24.el7, libreoffice-sdk 5.3.6.1-24.el7, libreoffice-glade 5.3.6.1-24.el7, libreoffice-rhino 5.3.6.1-24.el7, libreoffice-help-ar 5.3.6.1-24.el7, +48 morefixed: vendor fix RHSA-2020:1151
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.75% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected products
- Document Foundation LibreOffice
Classification
References
-
libreoffice.org
/about-us/security/advisories/CVE-2019-9852
patch, vendor-advisory
-
debian.org
/security/2019/dsa-4501
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/
vendor-advisory
-
usn.ubuntu.com
/4102-1/
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-09/msg00006.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-09/msg00067.html
vendor-advisory, mailing-list, third-party-advisory
-
seclists.org
/bugtraq/2019/Aug/28
mailing-list, issue-tracking, third-party-advisory
-
seclists.org
/bugtraq/2019/Sep/17
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/10/msg00005.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2019-9852
- NVD CVE-2019-9852
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.