CVSS 4.0
5.4 mediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:PMedium (5.4) in the document foundation libreoffice. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:PCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HExplain CVE-2026-6040 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-6040?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-6040?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-6040 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| The Document Foundation LibreOffice | from 25.8 before < 25.8.7 |
| The Document Foundation LibreOffice | from 26.2 before < 26.2.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 13 | libreoffice | 4:25.2.3-2+deb13u5 | DEBIAN-CVE-2026-6040 DSA-6346-1 |
| Debian | 14 | libreoffice | 4:26.2.3.2-2 | DEBIAN-CVE-2026-6040 |
| Ubuntu | 22.04:LTS | libreoffice | 1:7.3.7-0ubuntu0.22.04.12 | USN-8534-1 |
| Ubuntu | 24.04:LTS | libreoffice | 4:24.2.7-0ubuntu0.24.04.6 | UBUNTU-CVE-2026-6040 USN-8534-1 |
| Ubuntu | 25.10 | libreoffice | no fix listed | UBUNTU-CVE-2026-6040 |
| Ubuntu | 26.04:LTS | libreoffice | 4:26.2.4.2-0ubuntu0.26.04.2 | UBUNTU-CVE-2026-6040 USN-8534-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7 | libreoffice | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| openSUSE | Leap 16.0 | libreoffice | 26.8.1.1-bp160.1.1 | openSUSE-SU-2026:22216-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.
Red Hat rates this Important.
This LibreOffice vulnerability is rated as Important. If a user inadvertently opens a maliciously crafted OpenDocument Format (ODF) file, an attacker can execute unauthorized code, potentially resulting in complete control over the affected system.
Users should exercise caution and avoid opening untrusted OpenDocument Format (ODF) files.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | libreoffice | Out of support scope | |
| Red Hat Enterprise Linux 7 | libreoffice | Not affected | |
| Red Hat Enterprise Linux 8 | libreoffice | Not affected | |
| Red Hat Enterprise Linux 9 | libreoffice | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-6040.