← Vulnerability feed

Vulnerability record · CVE-2024-5261 · published 25 June 2024

CVE-2024-5261: Libreoffice improper certificate validation vulnerability

Libreoffice · Libreoffice

Improper Certificate Validation vulnerability in LibreOffice "LibreOfficeKit" mode disables TLS certification verification LibreOfficeKit can be used for accessing LibreOffice functionality through C/C++. Typically this is used by third party components to reuse LibreOffice as a library to convert, view or otherwise interact with documents. LibreOffice internally makes use of "curl" to fetch remote resources such as images hosted on webservers. In affected versions of LibreOffice, when used in LibreOfficeKit mode only, then curl's TLS certification verification was disabled (CURLOPT_SSL_VERIFYPEER of false) In the fixed versions curl operates in LibreOfficeKit mode the same as in standard mode with CURLOPT_SSL_VERIFYPEER of true. This issue affects LibreOffice before version 24.2.4.

10.0 CVSS 4.0 Critical EPSS 0.43% · top 65.4% CWE-295 · Improper certificate validation
10.0CVSS 4.0 base score
0.43%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

Description

Improper Certificate Validation vulnerability in LibreOffice "LibreOfficeKit" mode disables TLS certification verification LibreOfficeKit can be used for accessing LibreOffice functionality through C/C++. Typically this is used by third party components to reuse LibreOffice as a library to convert, view or otherwise interact with documents. LibreOffice internally makes use of "curl" to fetch remote resources such as images hosted on webservers. In affected versions of LibreOffice, when used in LibreOfficeKit mode only, then curl's TLS certification verification was disabled (CURLOPT_SSL_VERIFYPEER of false) In the fixed versions curl operates in LibreOfficeKit mode the same as in standard mode with CURLOPT_SSL_VERIFYPEER of true. This issue affects LibreOffice before version 24.2.4.

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

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

References

Track CVE-2024-5261 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-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-14939Libreoffice memory buffer overflow vulnerabilityThe 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…EPSS 2.2%9.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-2024-5261), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.