Arbitrary file write in LibreOffice Writer DOCX export
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
LibreOffice from 26.2 before 26.2.7 and from 26.8 before 26.8.1 is affected. Values taken from content controls bound to custom XML data are not escaped when the document is exported to DOCX, including in command-line conversions (CWE-91). A user who exports a crafted document can cause a file to be written to any location that the user can write to.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| The Document Foundation | LibreOffice | 26.2 to before < 26.2.7; 26.8 to before < 26.8.1 | < 26.2.7, < 26.8.1 | Patch available | CNA |
- LibreOffice VendorThe Document Foundation Affected 26.2 to before < 26.2.7; 26.8 to before < 26.8.1 Fixed in < 26.2.7, < 26.8.1 Patch available CNA
Remediation
Upgrade LibreOffice 26.2 to 26.2.7 and LibreOffice 26.8 to 26.8.1.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA LibreOffice (The Document Foundation) Fixed in < 26.2.7, < 26.8.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
The Document Foundation LibreOffice < 26.2.7, < 26.8.1
3 records Highest priority Priority MEDIUM 2 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-92205 Out-of-bounds write in LibreOffice PDF import of masked imagesPriority MEDIUM 40
- TI-2026-92203 Linked background image fetched despite stealth mode in LibreOfficePriority LOW 22
Timeline
- 2026-11-16 Threatist record created from CVE-2026-87932
- 2026-11-16 Alias added: GHSA-vqhv-r6f6-3xx6
More The Document Foundation vulnerabilities
- TI-2019-07233 LibreLogo global-event script execution CVSS 3.1CRITICAL 9.8
- TI-2018-12068 Path traversal in [UNKNOWN] libreoffice CVSS 3.0CRITICAL 9.8
- TI-2018-07474 An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache… CVSS 3.0HIGH 7.5
- TI-2019-07230 Code injection in Document Foundation LibreOffice CVSS 3.1CRITICAL 9.8
- TI-2018-05018 LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary… CVSS 3.0CRITICAL 9.8
- TI-2023-01118 Arbitrary file write in libreoffice CVSS 3.1MEDIUM 5.5
Sources
- CVE-2026-87932 · CVE Program
- CVE-2026-87932 · NVD
- GHSA-vqhv-r6f6-3xx6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences