Out-of-bounds read in LibreOffice DIF and UTF-16 text import
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
LibreOffice Calc from 26.2 before 26.2.7 and from 26.8 before 26.8.2 can read past the end of a line when importing DIF spreadsheets or UTF-16 text files. The line length can be miscalculated, an out-of-bounds read (CWE-125) that may copy memory beyond the line into the imported document. A local attacker can exploit this if a user opens a crafted file.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
LibreOffice Calc can open spreadsheets in the DIF format, and text files such as CSV in the UTF-16 encoding. Both are read one line at a time. An out-of-bounds read existed when a line of a crafted file was read, because the length of the line could be miscalculated, so memory beyond the line could be copied into the imported document. In fixed versions each line is read up to its limit and no further.
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.2 | < 26.2.7, < 26.8.2 | Patch available | CNA |
- LibreOffice VendorThe Document Foundation Affected 26.2 to before < 26.2.7; 26.8 to before < 26.8.2 Fixed in < 26.2.7, < 26.8.2 Patch available CNA
Remediation
Fixed versions are 26.2.7 in the 26.2 branch and 26.8.2 in the 26.8 branch. Upgrade LibreOffice to one of these versions.
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.2
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.2
19 records Highest priority Priority MEDIUM 10 MEDIUM, 9 LOW
Other records, highest priority first
- TI-2026-92219 LibreOffice Writer runs HTML event macros without security checkPriority MEDIUM 52
- TI-2026-92206 Base document events run macros without the macro security checkPriority MEDIUM 52
- TI-2026-92224 Local file disclosure through embedded media in LibreOfficePriority MEDIUM 45
Timeline
- 2026-11-16 Threatist record created from CVE-2026-97894
- 2026-11-16 Alias added: GHSA-8cwh-crmj-qcx3
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-97894 · CVE Program
- CVE-2026-97894 · NVD
- GHSA-8cwh-crmj-qcx3 · 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