# CVE-2024-5261: TLS certificate are not properly verified when utilizing LibreOfficeKit

- Priority: **Prioritise**
- Reason: Severe, CVSS 10 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 24.2.4 (CNA); fix release not confirmed
- Status: published
- Published: 2024-06-25 · Modified: 2024-08-01
- Aliases: MGASA-2024-0268, SUSE-SU-2024:3576-1, SUSE-SU-2024:3577-1, UBUNTU-CVE-2024-5261, USN-6877-1, DEBIAN-CVE-2024-5261, openSUSE-SU-2024:14186-1
- Record: https://cvemate.com/vulnerability/CVE-2024-5261 · JSON: https://cvemate.com/vulnerability/CVE-2024-5261/json

## Description

```text
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.
```

## Signals

- CVSS: 10 critical (v4.0, CVE.org) 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
- EPSS: 0.428%, percentile 38.995%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libreoffice (Debian): \< 4:24.2.4-1
- ubuntu libreoffice (Ubuntu): \< 4:24.2.4-0ubuntu0.24.04.2
- libreoffice libreoffice: \< 24.2.4
- mageia libreoffice (Mageia): \< 7.6.7.2-1.1.mga9
- opensuse libreoffice&distro=openSUSE Leap 15.5 (openSUSE): \< 24.8.1.2-150500.20.11.2
- opensuse libreoffice&distro=openSUSE Leap 15.6 (openSUSE): \< 24.8.1.2-150500.20.11.2
- opensuse libreoffice&distro=openSUSE Tumbleweed (openSUSE): \< 24.2.5.2-1.1
- suse libreoffice&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5 (SUSE Linux Enterprise): \< 24.8.1.2-150500.20.11.2
- suse libreoffice&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6 (SUSE Linux Enterprise): \< 24.8.1.2-150500.20.11.2
- suse libreoffice&distro=SUSE Linux Enterprise Software Development Kit 12 SP5 (SUSE Linux Enterprise): \< 24.8.1.2-48.64.2
- suse libreoffice&distro=SUSE Linux Enterprise Workstation Extension 12 SP5 (SUSE Linux Enterprise): \< 24.8.1.2-48.64.2
- suse libreoffice&distro=SUSE Linux Enterprise Workstation Extension 15 SP5 (SUSE Linux Enterprise): \< 24.8.1.2-150500.20.11.2
- suse libreoffice&distro=SUSE Linux Enterprise Workstation Extension 15 SP6 (SUSE Linux Enterprise): \< 24.8.1.2-150500.20.11.2
- the document foundation libreoffice: ≥ 24.2, \< 24.2.4

## References

- <https://www.libreoffice.org/about-us/security/advisories/cve-2024-5261>
- <https://advisories.mageia.org/MGASA-2024-0268.html>
- <https://bugs.mageia.org/show_bug.cgi?id=33370>
- <https://ubuntu.com/security/notices/USN-6877-1>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20243576-1/>
- <https://bugzilla.suse.com/1047218>
- <https://bugzilla.suse.com/1202273>
- <https://bugzilla.suse.com/1226975>
- <https://bugzilla.suse.com/1229589>
- <https://www.suse.com/security/cve/CVE-2024-5261>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20243577-1/>
- <https://bugzilla.suse.com/1225597>
- <https://ubuntu.com/security/CVE-2024-5261>
- <https://www.cve.org/CVERecord?id=CVE-2024-5261>
- <https://security-tracker.debian.org/tracker/CVE-2024-5261>

---

Data as of 2026-12-05T08:23:23.409Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
