Every CVE Search/ Get API key

CVE-2026-6047

Heap buffer overflow in OOXML text box element import

5.4 MediumFix available

LibreOffice can import documents in the OOXML format (DOCX). A heap buffer overflow existed when replaying deferred parser events for a text box element. A handler object was assumed to be of one type and written to at that type's field layout, but it could be a smaller object, so the write landed past the end of the allocation. In fixed versions the type is checked before the write.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Passive

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
High

Exploit likelihood

0.15%Unchanged since Jun 16, 2026
90%50%10%1%

What each source reports

CVE List Score used 5.4

Heap buffer overflow in OOXML text box element import

LibreOffice can import documents in the OOXML format (DOCX). A heap buffer overflow existed when replaying deferred parser events for a text box element. A handler object was assumed to be of one type and written to at that type's field layout, but it could be a smaller object, so the write landed past the end of the allocation. In fixed versions the type is checked before the write.

Record
CVE-2026-6047
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:P
Weakness
CWE-787, CWE-843
Updated
2026-11-02
EUVDEUVD-2026-36737 5.4

LibreOffice can import documents in the OOXML format (DOCX). A heap buffer overflow existed when replaying deferred parser events for a text box element. A handler object was assumed to be of one type and written to at that type's field layout, but it could be a smaller object, so the write landed past the end of the allocation. In fixed versions the type is checked before the write.

Record
EUVD-2026-36737
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:P
Updated
2026-11-02
GitHub AdvisoriesGHSA-wq72-h3fh-w757 5.4

LibreOffice can import documents in the OOXML format (DOCX). A heap buffer overflow existed when...

LibreOffice can import documents in the OOXML format (DOCX). A heap buffer overflow existed when replaying deferred parser events for a text box element. A handler object was assumed to be of one type and written to at that type's field layout, but it could be a smaller object, so the write landed past the end of the allocation. In fixed versions the type is checked before the write.

Record
GHSA-wq72-h3fh-w757
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:P/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
Weakness
CWE-787
Updated
2026-11-02
NVD 5.4

LibreOffice can import documents in the OOXML format (DOCX). A heap buffer overflow existed when replaying deferred parser events for a text box element. A handler object was assumed to be of one type and written to at that type's field layout, but it could be a smaller object, so the write landed past the end of the allocation. In fixed versions the type is checked before the write.

Record
CVE-2026-6047
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:P/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
Weakness
CWE-787, CWE-843
Updated
2026-11-02
OSVDEBIAN-CVE-2026-6047 5.4

LibreOffice can import documents in the OOXML format (DOCX). A heap buffer overflow existed when replaying deferred parser events for a text box element. A handler object was assumed to be of one type and written to at that type's field layout, but it could be a smaller object, so the write landed past the end of the allocation. In fixed versions the type is checked before the write.

Record
DEBIAN-CVE-2026-6047
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:P/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
Updated
2026-11-02
OSVUBUNTU-CVE-2026-6047 5.4

LibreOffice can import documents in the OOXML format (DOCX). A heap buffer overflow existed when replaying deferred parser events for a text box element. A handler object was assumed to be of one type and written to at that type's field layout, but it could be a smaller object, so the write landed past the end of the allocation. In fixed versions the type is checked before the write.

Record
UBUNTU-CVE-2026-6047
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:P
Updated
2026-11-02
OSVopenSUSE-SU-2026:22216-1 No score

Security update for libreoffice

This update for libreoffice fixes the following issues:

Changes in libreoffice:

  • Upgrade to 26.8.1.1.

  • Perfect spec file sync between Factory, SLE and Leap 16.X.

  • Update to LibreOffice 26.2.5.1 (was 25.2.5.2).

  • Fix the following security issues:

    • CVE-2026-6039 (bsc#1268494): Denial of Service via a specially crafted DXF polyline import.
    • CVE-2026-6045 (bsc#1268497): Heap buffer overflow via crafted EMF+ graphics import.
    • CVE-2026-6047 (bsc#1268504): Denial of Service via heap buffer overflow in OOXML document processing.
    • CVE-2026-8356 (bsc#1268522): Denial of Service via a specially crafted PPT file.
    • CVE-2026-6040 (bsc#1268527): Heap use-after-free when importing the blank-width characters of an ODF number format.
    • CVE-2026-8357 (bsc#1268528): Heap buffer overflow in Calc formula compilation.
    • CVE-2026-8358 (bsc#1268529): Heap buffer overflow in spreadsheet tracked-changes import.
    • CVE-2026-4430 (bsc#1264357): Out-of-bounds write via crafted OOXML documents with mismatched encryption salt parameters.
Record
openSUSE-SU-2026:22216-1
Updated
2026-11-04
OSVSUSE-SU-2026:3140-1 No score

Security update for libreoffice

This update for libreoffice fixes the following issues:

Update to LibreOffice 26.2.5.1.

Security issues fixed:

  • CVE-2026-4430: out-of-bounds write via crafted OOXML documents with mismatched encryption salt parameters (bsc#1264357).
  • CVE-2026-6039: denial of service via specially crafted DXF polyline import (bsc#1268494).
  • CVE-2026-6040: heap use-after-free when importing the blank-width characters of an ODF number format (bsc#1268527).
  • CVE-2026-6045: heap buffer overflow via crafted EMF+ graphics import (bsc#1268497).
  • CVE-2026-6047: denial of service via heap buffer overflow in OOXML document processing (bsc#1268504).
  • CVE-2026-8356: denial of service via a specially crafted PPT file (bsc#1268522).
  • CVE-2026-8357: heap buffer overflow in Calc formula compilation (bsc#1268528).
  • CVE-2026-8358: heap buffer overflow in spreadsheet tracked-changes import (bsc#1268529).
  • CVE-2026-50593: graphite2: out-of-bounds write via Graphite actions (bsc#1267735).

Other updates and bugfixes:

  • Update to LibreOffice 26.2.5.1.
    • Update bundled dependencies:
      • fontconfig 2.17.1 -> 2.18.0
      • graphite2-minimal 1.3.14 -> 1.3.15
      • libcmis 0.6.2 -> 0.6.3
      • libgpg-error 1.59 -> 1.61
      • lxml 6.1.0 -> 6.1.1
      • md4c 0.5.2 -> 0.5.3
      • poppler 26.04.0 -> 26.06.0
      • sqlite-amalgamation 3530000 -> 3530100
      • xmlsec1 1.3.9 -> 1.3.11
  • Update to LibreOffice 26.2.3.2 (PED-16098).
    • Upgraded dependencies:
      • boost: 1_88_0 -> 1_89_0
      • freetype: 2.14.1 -> 2.14.3
      • harfbuzz: 12.3.0 -> 12.3.2
      • icu4c: 77_1 -> 78.3
      • libgpg-error: 1.56 -> 1.59
      • liborcus: 0.20.1 -> 0.21.0
      • pdfium: 7012 -> 7471
      • poppler: 25.12.0 -> 26.04.0
      • skia: m136 -> m142
    • New bundled sources:
      • afdko 4.0.3
      • antlr4-cpp-runtime 4.13.2
      • fast_float 8.2.2
      • libffi 3.5.2
      • lxml 6.1.0
      • md4c 0.5.2
      • meson 1.8.3
      • Python 3.12.13
      • sqlite 3530000
      • xmlsec1 1.3.9
      • xz 5.8.3
  • Add patch, required to build the bundled Python on all architectures.
  • Bundling a specific Python is now required as the one we ship (3.6) is too old to build harfbuzz.
Record
SUSE-SU-2026:3140-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libreoffice
Debian:14
before 4:26.2.3.2-2, plus listed versions
4:25.2.3-24:25.8.0-14:25.8.0-1~bpo13+14:25.8.0~alpha1-14:25.8.0~alpha1-2
Show 45 moreShow less
4:25.8.0~beta1-14:25.8.0~rc1-14:25.8.0~rc1-24:25.8.0~rc2-14:25.8.0~rc2-24:25.8.0~rc3-14:25.8.0~rc4-14:25.8.0~rc4-24:25.8.1-14:25.8.1-1~bpo13+14:25.8.1~rc1-14:25.8.2-14:25.8.2-24:25.8.2-34:25.8.2-3~bpo13+14:25.8.2~rc1-14:25.8.2~rc2-14:25.8.3-14:25.8.3-1+ports4:25.8.3-1~bpo13+14:25.8.3~rc1-14:25.8.3~rc2-14:25.8.4-14:25.8.4-1~bpo13+14:26.2.0-14:26.2.0-1~bpo13+14:26.2.0~alpha1-14:26.2.0~alpha1-24:26.2.0~alpha1-34:26.2.0~beta1-14:26.2.0~rc1-14:26.2.0~rc2-14:26.2.0~rc3-14:26.2.1-14:26.2.1-1~bpo13+14:26.2.1~rc1-14:26.2.1~rc2-14:26.2.2.1-14:26.2.2.1-24:26.2.2.2-14:26.2.2.2-24:26.2.2.2-34:26.2.2.2-3~bpo13+14:26.2.3.1-14:26.2.3.2-1
4:26.2.3.2-2
libreoffice
SUSE:Linux Enterprise Module for Package Hub 15 SP7
From an advisory covering 9 CVEs
before 26.2.5.1-150500.20.37.1
26.2.5.1-150500.20.37.1
libreoffice
SUSE:Linux Enterprise Workstation Extension 15 SP7
From an advisory covering 9 CVEs
before 26.2.5.1-150500.20.37.1
26.2.5.1-150500.20.37.1
libreoffice
Ubuntu:26.04:LTS
before 4:26.2.4.2-0ubuntu0.26.04.2, plus listed versions
4:25.8.1~rc1-0ubuntu14:25.8.3-0ubuntu14:25.8.4~rc1-0ubuntu24:25.8.4~rc1-0ubuntu34:25.8.4~rc2-0ubuntu1
Show 4 moreShow less
4:26.2.1~rc2-0ubuntu14:26.2.2.2-0ubuntu14:26.2.3.2-0ubuntu0.26.04.14:26.2.4.2-0ubuntu0.26.04.1
4:26.2.4.2-0ubuntu0.26.04.2
libreoffice
openSUSE:Leap 16.0
From an advisory covering 8 CVEs
before 26.8.1.1-bp160.1.1
26.8.1.1-bp160.1.1

History

History
RecordedChangedSources
affected
affected, aliases, facts, referencesOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-6047 is a medium vulnerability (CVSS 5.4) in The Document Foundation Libreoffice, published June 15, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.15%, the 4th percentile. Fixed in libreoffice 4:26.2.3.2-2.

References

Show 19 moreShow less
This page doesn't list everything

Left out here: 1 version. The JSON record has them.

MoveEnter Open