CVE-2026-6040
published medium CVSS 4.0 · 5.4Heap use-after-free in ODF number-format blank-width parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| The Document Foundation | — | LibreOffice25.8 to < < 25.8.7 · 26.2 to < < 26.2.3 · Other versions: unknown | Affected | Not stated | Document Fdn. |
| Red Hat Enterprise Linux | 6 | libreoffice | Unknown | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 7, 8, 9 | libreoffice | Unaffected | Not required | redhat-SADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | trixie | libreoffice | Advisory build | 4:25.2.3-2+deb13u5 | DSA-6346-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreofficeaarch64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| Ubuntu | noble | libreoffice | Advisory build | 4:24.2.7-0ubuntu0.24.04.6 | USN-8534-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreofficeppc64le | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP7 | libreofficex86_64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libreofficeaarch64 | Advisory build | 26.8.1.1-bp160.1.1 | OPENSUSE-SU-2026:22216-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libreofficeppc64le | Advisory build | 26.8.1.1-bp160.1.1 | OPENSUSE-SU-2026:22216-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libreoffices390x | Advisory build | 26.8.1.1-bp160.1.1 | OPENSUSE-SU-2026:22216-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libreofficex86_64 | Advisory build | 26.8.1.1-bp160.1.1 | OPENSUSE-SU-2026:22216-1 |
| Ubuntu | resolute | libreoffice | Advisory build | 4:26.2.4.2-0ubuntu0.26.04.2 | USN-8534-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-baseaarch64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-baseppc64le | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-basex86_64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-base-drivers-firebirdaarch64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-base-drivers-firebirdppc64le | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-base-drivers-firebirdx86_64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-base-drivers-postgresqlaarch64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-base-drivers-postgresqlppc64le | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-base-drivers-postgresqlx86_64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-branding-upstreamnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-calcaarch64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-calcppc64le | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-calcx86_64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-calc-extensionsaarch64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-calc-extensionsppc64le | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-calc-extensionsx86_64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-drawaarch64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-drawppc64le | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-drawx86_64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-filters-optionalaarch64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-filters-optionalppc64le | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-filters-optionalx86_64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-gdb-pretty-printersnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-gladenoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-gnomeaarch64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-gnomeppc64le | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-gnomex86_64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-gtk3aarch64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-gtk3ppc64le | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-gtk3x86_64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-icon-themesnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-impressaarch64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-impressppc64le | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-impressx86_64 | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-afnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-amnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-arnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-asnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-astnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-benoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-bgnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-bnnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-bn_INnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-bonoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-brnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-brxnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-bsnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-canoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-ca_valencianoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-ckbnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-csnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-cynoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-danoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-denoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-dgonoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-dsbnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-dznoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-elnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-ennoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-en_GBnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-en_ZAnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-eonoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-esnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-etnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-eunoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-fanoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-finoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-frnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-furnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-fynoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-ganoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-gdnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-glnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-gunoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-gugnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-henoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-hinoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-hrnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-hsbnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-hunoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-hynoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-idnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-isnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-itnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-janoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-kanoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-kabnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-kknoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-kmnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
| SUSE / openSUSE | SLE-15-SP7 | libreoffice-l10n-kmr_Latnnoarch | Advisory build | 26.2.5.1-150500.20.37.1 | SUSE-SU-2026:3140-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
A heap use-after-free existed when importing the blank-width characters of an ODF number format. A position value read from the document was not checked against the length of the format-code string, so a malformed number format could be processed against memory outside that string. In fixed versions the position is bounds-checked before use.
A vulnerability was found in LibreOffice. If a user inadvertently opens a malicious OpenDocument Format (ODF) file, an attacker could execute unauthorized code and potentially gain full control of the system.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- Document Fdn. · cna
- Vector string
- 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:P
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.3 | high | redhat-SADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| The Document Foundation | LibreOffice | 25.8 to < < 25.8.7 (affected · 25.8 series)26.2 to < < 26.2.3 (affected · 26.2 series)Default: unknown | Document Fdn. · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
Weaknesses
3- CWE-416 CWE-416 Use After Free
- CWE-787 CWE-787 Out-of-bounds Write
- CWE-825 Expired Pointer Dereference
References
4- https://access.redhat.com/security/cve/CVE-2026-6040
- RHBZ#2488966 https://bugzilla.redhat.com/show_bug.cgi?id=2488966
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6040.json
- https://www.libreoffice.org/about-us/security/advisories/cve-2026-6040
Provider assertions
3Document Fdn. · cna
Heap use-after-free in ODF number-format blank-width parsing
redhat-SADP · adp
libreoffice: LibreOffice: Heap use-after-free allows arbitrary code execution via malformed ODF number format
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 718ea239928788e6df3c037981010b8ced2c641df5beb20dc902b15ccb524c92
- Ingested
- 23 Sep 2026, 09:28:24 UTC
- Source record
- Official CVE record