CVE-2024-5261
TLS certificate are not properly verified when utilizing LibreOfficeKit
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
10.0
TLS certificate are not properly verified when utilizing LibreOfficeKit
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.
- Record
CVE-2024-5261- 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 - Weakness
- CWE-295
- Updated
- 2026-11-02
EUVDEUVD-2024-46499
10.0
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.
- Record
EUVD-2024-46499- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rvcj-9xfm-m9hr
10.0
Improper Certificate Validation vulnerability in LibreOffice "LibreOfficeKit" mode disables TLS...
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.
- Record
GHSA-rvcj-9xfm-m9hr- 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/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:X/V:X/RE:X/U:X - 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 - Weakness
- CWE-295
- Updated
- 2026-11-02
NVD
10.0
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.
- Record
CVE-2024-5261- 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/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:X/V:X/RE:X/U:X - 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 - Weakness
- CWE-295
- Updated
- 2026-11-02
OSVBELL-CVE-2024-5261
9.8
- Record
BELL-CVE-2024-5261- 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 - Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2024-5261- 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 - Updated
- 2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2024-5261
9.8
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.
- Record
DEBIAN-CVE-2024-5261- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-5261
10.0
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.
- Record
UBUNTU-CVE-2024-5261- 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 - 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 - Updated
- 2026-11-02
OSVMGASA-2024-0268 No score
Updated libreoffice packages fix security vulnerability
TLS certificates are not properly verified when utilizing LibreOfficeKit. (CVE-2024-5261)
- Record
MGASA-2024-0268- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14186-1 No score
libreoffice-24.2.5.2-1.1 on GA media
These are all security issues fixed in the libreoffice-24.2.5.2-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14186-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:3576-1 No score
Security update for libreoffice
This update for libreoffice fixes the following issues:
libreoffice was updated to version 24.8.1.2 (jsc#PED-10362):
-
Release notes:
-
Security issues fixed:
- CVE-2024-526: Fixed TLS certificates are not properly verified when utilizing LibreOfficeKit (bsc#1226975)
-
Other bugs fixed:
- Use system curl instead of the bundled one on systems greater than or equal to SLE15 (bsc#1229589)
- Use the new clucene function, which makes index files reproducible (bsc#1047218)
-
Update bundled dependencies:
- Java-Websocket updated from 1.5.4 to 1.5.6
- boost updated from 1.82.0 to 1.85.0
- curl updated from 8.7.1 to 8.9.1
- fontconfig updated from 2.14.2 to 2.15.0
- freetype updated from 2.13.0 to 2.13.2
- harfbuzz updated from 8.2.2 to 8.5.0
- icu4c-data updated from 73.2 to 74.2
- icu4c-src updated from 73.2 to 74.2
- libassuan updated from 2.5.7 to 3.0.1
- libcmis updated from 0.6.1 to 0.6.2
- libgpg-error updated from 1.48 to 1.50
- pdfium updated from 6179 to 6425
- poppler updated from 23.09.0 to 24.08.0
- tiff updated from 4.6.0 to 4.6.0t
- Record
SUSE-SU-2024:3576-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:3577-1 No score
Security update for libreoffice
This update for libreofficefixes the following issues:
libreoffice was updated to version 24.8.1.2 (jsc#PED-10362):
-
Release notes:
-
Security issues fixed:
- CVE-2024-526: Fixed TLS certificates are not properly verified when utilizing LibreOfficeKit (bsc#1226975)
-
Other bugs fixed:
- Use system curl instead of the bundled one on systems greater than or equal to SLE15 (bsc#1229589)
- Use the new clucene function, which makes index files reproducible (bsc#1047218)
- Support firebird database with new package
libreoffice-base-drivers-firebirdin Package Hub and openSUSE Leap (bsc#1225597)
-
Update bundled dependencies:
- Java-Websocket updated from 1.5.4 to 1.5.6
- boost updated from 1.82.0 to 1.85.0
- curl updated from 8.7.1 to 8.9.1
- fontconfig updated from 2.14.2 to 2.15.0
- freetype updated from 2.13.0 to 2.13.2
- harfbuzz updated from 8.2.2 to 8.5.0
- icu4c-data updated from 73.2 to 74.2
- icu4c-src updated from 73.2 to 74.2
- libassuan updated from 2.5.7 to 3.0.1
- libcmis updated from 0.6.1 to 0.6.2
- libgpg-error updated from 1.48 to 1.50
- pdfium updated from 6179 to 6425
- poppler updated from 23.09.0 to 24.08.0
- tiff updated from 4.6.0 to 4.6.0t
- Record
SUSE-SU-2024:3577-1- Updated
- 2026-11-02
OSVUSN-6877-1 No score
libreoffice vulnerability
It was discovered that LibreOffice incorrectly performed TLS certificate verification when the LibreOfficeKit library is being used by third-party components. A remote attacker could possibly use this issue to obtain sensitive information.
- Record
USN-6877-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libreoffice-headlessAlpaquita:23 |
7.6.3.2-r3 up to 7.6.7.2-r1 | 7.6.7.2-r1 |
libreoffice-headlessAlpaquita:stream |
7.6.4.1-r1 up to 24.8.4.2-r1 | 24.8.4.2-r1 |
libreofficeDebian:13 |
before 4:24.2.4-1 | 4:24.2.4-1 |
libreofficeDebian:14 |
before 4:24.2.4-1 | 4:24.2.4-1 |
libreofficeMageia:9 |
before 7.6.7.2-1.1.mga9 | 7.6.7.2-1.1.mga9 |
libreofficeSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 24.8.1.2-48.64.2 | 24.8.1.2-48.64.2 |
libreofficeSUSE:Linux Enterprise Workstation Extension 12 SP5 |
before 24.8.1.2-48.64.2 | 24.8.1.2-48.64.2 |
libreofficeSUSE:Linux Enterprise Module for Package Hub 15 SP5 |
before 24.8.1.2-150500.20.11.2 | 24.8.1.2-150500.20.11.2 |
libreofficeSUSE:Linux Enterprise Module for Package Hub 15 SP6 |
before 24.8.1.2-150500.20.11.2 | 24.8.1.2-150500.20.11.2 |
libreofficeSUSE:Linux Enterprise Workstation Extension 15 SP5 |
before 24.8.1.2-150500.20.11.2 | 24.8.1.2-150500.20.11.2 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libreofficeSUSE:Linux Enterprise Workstation Extension 15 SP6 |
before 24.8.1.2-150500.20.11.2 | 24.8.1.2-150500.20.11.2 |
libreofficeopenSUSE:Leap 15.5 |
before 24.8.1.2-150500.20.11.2 | 24.8.1.2-150500.20.11.2 |
libreofficeopenSUSE:Leap 15.6 |
before 24.8.1.2-150500.20.11.2 | 24.8.1.2-150500.20.11.2 |
libreofficeUbuntu:24.04:LTS |
before 4:24.2.4-0ubuntu0.24.04.2, plus listed versions 4:7.6.2-0ubuntu14:7.6.3~rc1-0ubuntu24:7.6.3-0ubuntu34:7.6.4-0ubuntu14:7.6.4-0ubuntu3 Show 8 moreShow less4:24.2.0~rc1-0ubuntu14:24.2.1~rc1-0ubuntu14:24.2.1~rc2-0ubuntu14:24.2.2~rc2-0ubuntu14:24.2.2-0ubuntu14:24.2.3-0ubuntu0.24.04.14:24.2.3-0ubuntu0.24.04.24:24.2.4-0ubuntu0.24.04.1 |
4:24.2.4-0ubuntu0.24.04.2 |
libreofficeopenSUSE:Tumbleweed |
before 24.2.5.2-1.1 | 24.2.5.2-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-5261 is a critical vulnerability (CVSS 10.0) in Libreoffice, published June 25, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.43%, the 37th percentile. Fixed in libreoffice-headless 7.6.7.2-r1.
References
libreoffice.org/about-us/security/advisories/cve-2024-5261
nvd.nist.gov/vuln/detail/CVE-2024-5261
github.com/advisories/GHSA-rvcj-9xfm-m9hr
docs.bell-sw.com/security/cves/CVE-2024-5261
security-tracker.debian.org/tracker/CVE-2024-5261
advisories.mageia.org/MGASA-2024-0268.html
Show 12 moreShow less
bugs.mageia.org/show_bug.cgi?id=33370
ubuntu.com/security/notices/USN-6877-1
suse.com/support/update/announcement/2024/suse-su-20243576-1
bugzilla.suse.com/1047218
bugzilla.suse.com/1202273
bugzilla.suse.com/1226975
bugzilla.suse.com/1229589
suse.com/security/cve/CVE-2024-5261
suse.com/support/update/announcement/2024/suse-su-20243577-1
bugzilla.suse.com/1225597
ubuntu.com/security/CVE-2024-5261
cve.org/CVERecord?id=CVE-2024-5261