Read the docs
TI-2018-12068 Aliases CVE-2018-16858GHSA-v39m-j232-p3qr

Path traversal in [UNKNOWN] libreoffice

Priority HIGH 79CWE-356Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 5 fixed, 1 without a fix

Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.

Summary

It was found that libreoffice before versions 6.0.7 and 6.1.3 was vulnerable to a directory traversal attack which could be used to execute arbitrary macros bundled with a document. An attacker could craft a document, which when opened by LibreOffice, would execute a Python method from a script in any arbitrary file system location, specified relative to the LibreOffice install location.

Why it matters now

EPSS 0.67321 99th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD and the CNA
Fix Partial Red Hat: 1 advisoryRed Hat: 5 fixed, 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
[UNKNOWN]libreoffice6.0.7; 6.1.3—No fix listedCNA
  • libreoffice Vendor[UNKNOWN] Affected 6.0.7; 6.1.3 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*before 6.0.7; 6.1.0 to before 6.1.3VulnerableThe Document Foundation
  • cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:* Versions before 6.0.7; 6.1.0 to before 6.1.3 Vulnerable ·The Document Foundation

Remediation

Red Hat 1 advisory

  • RHSA-2019:2130 Released 2019-08-08 · Red Hat rating Low
    libreoffice security and bug fix update
    • Red Hat Enterprise Linux Client (v. 7) autocorr-af-1:5.3.6.1-21.el7, autocorr-bg-1:5.3.6.1-21.el7, autocorr-ca-1:5.3.6.1-21.el7 +47
    • Red Hat Enterprise Linux Client Optional (v. 7) libreoffice-1:5.3.6.1-21.el7, libreoffice-bsh-1:5.3.6.1-21.el7, libreoffice-gdb-debug-support-1:5.3.6.1-21.el7 +47
    • Red Hat Enterprise Linux Server Optional (v. 7) autocorr-af-1:5.3.6.1-21.el7, autocorr-bg-1:5.3.6.1-21.el7, autocorr-ca-1:5.3.6.1-21.el7 +47
    • Red Hat Enterprise Linux Workstation (v. 7) autocorr-af-1:5.3.6.1-21.el7, autocorr-bg-1:5.3.6.1-21.el7, autocorr-ca-1:5.3.6.1-21.el7 +47
    • Red Hat Enterprise Linux Workstation Optional (v. 7) libreoffice-1:5.3.6.1-21.el7, libreoffice-bsh-1:5.3.6.1-21.el7, libreoffice-gdb-debug-support-1:5.3.6.1-21.el7 +47

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux Client (v. 7)Fixed RHSA-2019:2130
Red Hat Enterprise Linux Client Optional (v. 7)Fixed RHSA-2019:2130
Red Hat Enterprise Linux Server Optional (v. 7)Fixed RHSA-2019:2130
Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2019:2130
Red Hat Enterprise Linux Workstation Optional (v. 7)Fixed RHSA-2019:2130
Not affected: 1 product
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-16858
  2. 2026-10-03 Alias added: GHSA-v39m-j232-p3qr

References

  • TI-2019-07233 LibreLogo global-event script execution CVSS 3.1CRITICAL 9.8
  • TI-2018-07474 An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache… CVSS 3.0HIGH 7.5
  • TI-2019-07230 Code injection in Document Foundation LibreOffice CVSS 3.1CRITICAL 9.8
  • TI-2018-05018 LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary… CVSS 3.0CRITICAL 9.8
  • TI-2023-01118 Arbitrary file write in libreoffice CVSS 3.1MEDIUM 5.5
  • TI-2014-02850 Apache OpenOffice before 4.1.1 allows remote attackers to execute arbitrary commands and… CVSS 2.0HIGH 9.3
See all 70 →

Sources