What’s Vulnerable › Vulnerabilities

CVE-2026-97894: Out-of-bounds read in UTF-16 text and DIF spreadsheet import

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

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