# CVE-2019-9852: Insufficient URL encoding flaw in allowed script location check

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2019-08-15 · Modified: 2024-09-17
- Aliases: UBUNTU-CVE-2019-9852, DEBIAN-CVE-2019-9852, ALPINE-CVE-2019-9852
- Record: https://cvemate.com/vulnerability/CVE-2019-9852 · JSON: https://cvemate.com/vulnerability/CVE-2019-9852/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.752%, percentile 78.674%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libreoffice (Alpine Linux): \< 6.2.6.2-r0 \| \< 6.3.0.4-r0
- canonical ubuntu\_linux: 16.04 \| 18.04 \| 19.04
- debian libreoffice (Debian): \< 1:6.3.0-1
- ubuntu libreoffice (Ubuntu): \< 1:5.1.6~rc2-0ubuntu1~xenial9 \| \< 1:6.0.7-0ubuntu0.18.04.9
- debian debian\_linux: 8.0 \| 9.0 \| 10.0
- document foundation libreoffice: ≥ unspecified, \< 6.2.6
- fedoraproject fedora: 29
- libreoffice libreoffice: \< 6.2.6
- opensuse leap: 15.0 \| 15.1

## References

- <https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9852>
- <https://seclists.org/bugtraq/2019/Aug/28>
- <https://www.debian.org/security/2019/dsa-4501>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/>
- <https://usn.ubuntu.com/4102-1/>
- <http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html>
- <https://seclists.org/bugtraq/2019/Sep/17>
- <http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html>
- <https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html>
- <https://ubuntu.com/security/CVE-2019-9852>
- <https://www.libreoffice.org/about-us/security/advisories/cve-2019-9852/>
- <https://ubuntu.com/security/notices/USN-4102-1>
- <https://www.cve.org/CVERecord?id=CVE-2019-9852>
- <https://security-tracker.debian.org/tracker/CVE-2019-9852>
- <https://security.alpinelinux.org/vuln/CVE-2019-9852>

---

Data as of 2026-12-05T04:58:07.732Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
