NetSight
medium5.4

CVE-2026-97894

LibreOffice Calc can open spreadsheets in the DIF format, and text files such as CSV in the UTF-16 encoding.

Impact

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.

An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: low risk of data being read, high risk of outages.

Affected products · The Document Foundation

ProductAffected versions
LibreOffice
from 26.2 before < 26.2.7
from 26.8 before < 26.8.2
Versions 26.8 << 26.8.2, 26.2 << 26.2.7

Weakness classification

References