CVE-2026-97894 is an out-of-bounds read vulnerability in LibreOffice Calc when opening DIF spreadsheets and UTF-16 encoded text files such as CSV. The flaw occurs because the software miscalculates the length of a line in a crafted file, causing memory beyond the intended line to be read and copied into the document. This issue has been fixed in updated versions by ensuring each line is read only up to its proper limit.