CVE-2026-6047: Heap buffer overflow in OOXML text box element import

Published Jun 15, 2026
·
Updated

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.

Affected Software

1 affected component
The Document Foundation LibreOffice

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Avoid importing or opening OOXML (DOCX) documents from untrusted sources. If such files must be inspected, do so in an isolated/sandboxed environment (for example a VM, container, or restricted account) or convert them to a safer format before opening.

  2. Operational

    Monitor LibreOffice vendor advisories for the release of fixed versions that implement the described type check for OOXML import, and apply those updates as soon as they are available.

Event History

Jun 15, 2026
CVE Published
via MITRE·04:22 PM
Data Sourced
via MITRE·04:22 PM
DescriptionWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-6047?

The severity of CVE-2026-6047 is medium with a CVSS score of 5.4.

2

How do I fix CVE-2026-6047?

To fix CVE-2026-6047, update to the latest version of LibreOffice that addresses this vulnerability.

3

What causes CVE-2026-6047?

CVE-2026-6047 is caused by a heap buffer overflow due to improper handling of OOXML text box element imports.

4

Which software is affected by CVE-2026-6047?

CVE-2026-6047 affects the LibreOffice software developed by The Document Foundation.

5

What is the potential impact of CVE-2026-6047?

The potential impact of CVE-2026-6047 includes possible exploitation that could lead to arbitrary code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203