cve.bz

CVE-2019-9852 Path traversal

7.8 highEPSS 1.8%Fix available

High (7.8). EPSS 1.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-116 Improper Encoding or Escaping of Output
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-9852 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-9852?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-9852?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-9852 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Document Foundation LibreOfficebefore 6.2.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libreoffice1:4.3.3-2+deb8u13DLA-1947-1
Debian9libreoffice1:5.2.7-1+deb9u10DSA-4501-1
Debian10libreoffice1:6.1.5-3+deb10u3DSA-4501-1
Debian12, 13, 14libreoffice1:6.3.0-1DEBIAN-CVE-2019-9852
Ubuntu16.04:LTSlibreoffice1:5.1.6~rc2-0ubuntu1~xenial9UBUNTU-CVE-2019-9852 USN-4102-1
Ubuntu18.04:LTSlibreoffice1:6.0.7-0ubuntu0.18.04.9UBUNTU-CVE-2019-9852 USN-4102-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationautocorr-af, autocorr-bg, autocorr-ca and 111 more1:5.3.6.1-24.el7RHSA-2020:1151
Red Hatenterprise_linux:8::appstreamautocorr-af, autocorr-bg, autocorr-ca and 189 more1:6.0.6.1-20.el8RHSA-2020:1598
Red Hatenterprise_linux:8::crblibreoffice-sdk, libreoffice-x11, libreoffice-gtk2 and 22 more1:6.0.6.1-20.el8RHSA-2020:1598
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Software Development Kit 12 SP4, Linux Enterprise Workstation Extension 12 SP4libreoffice6.2.7.1-43.56.3SUSE-SU-2019:2401-1
SUSELinux Enterprise Workstation Extension 15libreoffice6.2.6.2-3.21.1SUSE-SU-2019:2231-1
SUSELinux Enterprise Workstation Extension 15 SP1libreoffice6.2.7.1-8.10.1SUSE-SU-2019:2402-1
openSUSELeap 15.0libreoffice6.2.6.2-lp150.2.16.1openSUSE-SU-2019:2057-1
openSUSELeap 15.1libreoffice6.2.7.1-lp151.3.6.1openSUSE-SU-2019:2183-1
Alpinev3.10libreoffice6.2.6.2-r0ALPINE-CVE-2019-9852
Alpinev3.11, v3.12, v3.13 and 11 morelibreoffice6.3.0.4-r0ALPINE-CVE-2019-9852

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7libreoffice-1:5.3.6.1-24.el7Fixed 2020-03-31RHSA-2020:1151
Red Hat Enterprise Linux 8libreoffice-1:6.0.6.1-20.el8Fixed 2020-04-28RHSA-2020:1598
Red Hat Enterprise Linux 6libreofficeOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-9852.

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON