CVE-2024-5261

published 25 Jun 2024 · updated 1 Aug 2024

TLS certificate are not properly verified when utilizing LibreOfficeKit

10.0CriticalCVSS 10.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 24.2.4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
The Document Foundation>=24.2 <24.2.424.2.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-5261 severity on Zeptric[![CVE-2024-5261](https://zeptric.io/badge/cve/CVE-2024-5261.svg)](https://zeptric.io/cve/CVE-2024-5261)