What’s Vulnerable › Vulnerabilities
CVE-2026-97894: Out-of-bounds read in UTF-16 text and DIF spreadsheet import
- Severity: medium (CVSS 5.4 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-11-16 · updated 2026-11-17
- Weakness: CWE-125
Description
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.
Affected products
- The Document Foundation LibreOffice: from 26.2 before < 26.2.7; from 26.8 before < 26.8.2 — fixed in < 26.2.7, < 26.8.2
How to fix
Upgrade to a fixed version: The Document Foundation LibreOffice < 26.2.7, < 26.8.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-97894 or the next vulnerability affects your stack