CVE-2018-16858

Publication date 4 February 2019

Last updated 25 August 2025


Ubuntu priority

Cvss 3 Severity Score

9.8 · Critical

Score breakdown

Description

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.

Status

Package Ubuntu Release Status
libreoffice 18.10 cosmic
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Fixed 1:5.1.6~rc2-0ubuntu1~xenial6
14.04 LTS trusty
Fixed 1:4.2.8-0ubuntu5.5

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libreoffice

Severity score breakdown

CVSS version: CVSS v3.0

Base score 9.8 · Critical

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H


Access our resources on patching vulnerabilities