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

- Severity: Critical 10.0 (CVSS:4.0, scored by Document Fdn.) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-02)
- Published: 2024-06-25T12:44:24.251Z
- Modified: 2026-06-17T08:15:33.707Z
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Document Fdn.

## 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.

(As written by CVE List.)

## Affected

- The Document Foundation LibreOffice: from 24.2 before 24.2.4
- libreoffice libreoffice: before 24.2.4

## Every score

- Document Fdn.: CVSS:4.0 10.0 Critical `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.libreoffice.org/about-us/security/advisories/cve-2024-5261> (vendor-advisory)

## Sources

- CVE List: [CVE-2024-5261](https://www.cve.org/CVERecord?id=CVE-2024-5261), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-5261](https://nvd.nist.gov/vuln/detail/CVE-2024-5261), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5261 · Whole record: https://cve.day/CVE-2024-5261.json · Rebuilt by cve.day 2026-11-25T22:58:42.209Z
