← Vulnerability feed

Vulnerability record · CVE-2018-14939 · published 5 August 2018

CVE-2018-14939: Libreoffice memory buffer overflow vulnerability

Libreoffice · Libreoffice

The get_app_path function in desktop/unx/source/start.c in LibreOffice through 6.0.5 mishandles the realpath function in certain environments such as FreeBSD libc, which might allow attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact if LibreOffice is automatically launched during web browsing with pathnames controlled by a remote web site.

9.8 CVSS 3.0 Critical EPSS 2.2% · top 18.1% CWE-119 · Memory buffer overflow
9.8CVSS 3.0 base score, v2 7.5
2.2%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

Description

The get_app_path function in desktop/unx/source/start.c in LibreOffice through 6.0.5 mishandles the realpath function in certain environments such as FreeBSD libc, which might allow attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact if LibreOffice is automatically launched during web browsing with pathnames controlled by a remote web site.

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

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-14939 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2024-5261Libreoffice improper certificate validation vulnerabilityImproper Certificate Validation vulnerability in LibreOffice "LibreOfficeKit" mode disables TLS certification verification LibreOfficeKit can be used…EPSS 0.43%10.0CVE-2014-0247Fedoraproject fedora vulnerabilityLibreOffice 4.2.4 executes unspecified VBA macros automatically, which has unspecified impact and attack vectors, possibly related to doc/docmacromod…EPSS 3.9%9.8CVE-2019-9855Libreoffice vulnerabilityLibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitrary python commands contained …EPSS 2.6%9.8CVE-2019-9850Canonical ubuntu linux improper input validation vulnerabilityLibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitrary python commands contained …EPSS 3.4%9.8CVE-2019-9851LibreOffice LibreLogo global script event validation bypass allows Python executionLibreOffice bundles LibreLogo, a programmable turtle graphics script that can execute arbitrary Python commands embedded in a document. A prior fix f…EPSS 78%analysed9.8CVE-2019-9848Libreoffice code injection vulnerabilityLibreOffice has a feature where documents can specify that pre-installed scripts can be executed on various document events such as mouse-over, etc. …EPSS 31%9.8CVE-2018-16858LibreOffice directory traversal enables macro code executionLibreOffice before 6.0.7 and 6.1.3 is vulnerable to a directory traversal flaw that lets a crafted document execute arbitrary macros bundled with it.…EPSS 67%analysed9.8CVE-2018-6871Libreoffice vulnerabilityLibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary files via =WEBSERVICE calls in a document, which use the COM.…EPSS 23%

Source: NIST National Vulnerability Database (record CVE-2018-14939), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.