CVE-2026-87932Arbitrary file write during DOCX export
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libreoffice | Fix pending | UBUNTU-CVE-2026-87932 | |
| Ubuntu 26.04 | libreoffice | Under investigation | UBUNTU-CVE-2026-87932 | |
| Ubuntu 24.04 | libreoffice | Under investigation | UBUNTU-CVE-2026-87932 | |
| Ubuntu 22.04 | libreoffice | Under investigation | UBUNTU-CVE-2026-87932 | |
| Ubuntu 20.04 | libreoffice | Fix pending | UBUNTU-CVE-2026-87932 | |
| Debian 14 | libreoffice | Fixed | 4:26.8.1.1-2 | DEBIAN-CVE-2026-87932 |
| Debian 13 | libreoffice | Fixed | 4:25.2.3-2+deb13u12 | DEBIAN-CVE-2026-87932 |
| Debian 12 | libreoffice | Fix pending | DEBIAN-CVE-2026-87932 |
What the vendor says
As published in the CVE record by Document Fdn., the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- The Document Foundation LibreOffice: affected: 26.2 to before < 26.2.7, 26.8 to before < 26.8.1
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.