CVE-2024-5261

TLS certificate are not properly verified when utilizing LibreOfficeKit

Published Jun 25, 2024 CVSS 4.0 · 10 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-46499 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.
Ubuntu USN Ubuntu USN USN-6877-1 LibreOffice vulnerability
History
Type Values Removed Values Added
First Time appeared Libreoffice
Libreoffice libreoffice
CPEs cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*
Vendors & Products Libreoffice
Libreoffice libreoffice
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics epss

{'score': 0.00118}

epss

{'score': 0.0009}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Document Fdn.
Published
Updated
Aug 1, 2024, 9:11 PM
Reserved
May 23, 2024, 7:20 AM
Status
Analyzed
Published
Jun 25, 2024, 1:15 PM
Modified
Jun 17, 2026, 8:15 AM