VDB

CVE-2019-9852

CVE-2019-9852 PUBLISHED

Insufficient URL encoding flaw in allowed script location check

Reported by document fdn. · Published August 15, 2019

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libreofficeAlpine6.3.0.4-r0, 6.2.6.2-r0
libreofficelibreoffice6.2.6
libreofficeUbuntu:16.04:LTS1:5.1.6~rc2-0ubuntu1~xenial9
LibreOfficeDocument Foundation6.2.6
libreofficeUbuntu:18.04:LTS1:6.0.7-0ubuntu0.18.04.9

Affected products

VendorProductVersions
Document FoundationLibreOfficeunspecified
Document FoundationLibreOffice*
alpinelibreoffice0, 0

Timeline

  • Aug 15, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (8 in total, the first dated here)
  • Sep 7, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-9852
vulnetix vdb fixes CVE-2019-9852

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-9852/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›