Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-87932 EUVD-2026-126521GHSA-vqhv-r6f6-3xx6

Arbitrary file write during DOCX export

Published Nov 16, 2026 · Updated Nov 17, 2026 · Assigned by Document Fdn.

Description

LibreOffice Writer can save documents in DOCX format. A document can contain content controls whose values are bound to custom XML data, and that data is updated with the current values when the document is exported, including in a conversion run from the command line. Values taken from the document were not escaped where they were used, so a crafted document could write a file of its choosing anywhere the user can write when it was exported to DOCX. In fixed versions these values are written into the document directly, and the XSLT transformations LibreOffice runs can no longer write files or use the network.

Affected products

VendorProductAffectedFixed
The Document Foundation LibreOffice 26.2 – < < 26.2.7, 26.8 – < < 26.8.1 < 26.2.7

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libreoffice 4:26.8.1.1-2 —
Debian 13 libreoffice 4:25.2.3-2+deb13u12 DSA-6635-1
Debian 12 libreoffice No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libreoffice No fix yet —
Ubuntu 26.04 LTS libreoffice No fix yet —
Ubuntu 24.04 LTS libreoffice No fix yet —
Ubuntu 22.04 LTS libreoffice No fix yet —
Ubuntu 20.04 LTS libreoffice No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libreoffice 26.8.3.1-1.1 openSUSE-SU-2026:12666-1

Advisories 2

References