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

Published Nov 16, 2026
·
Updated

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 Software

1 affected component
The Document Foundation LibreOffice Calc

Event History

Nov 16, 2026
CVE Published
via MITRE·04:40 PM
Data Sourced
via MITRE·04:40 PM
DescriptionWeakness

Frequently Asked Questions

1

What content must an attacker provide to trigger the issue?

The attacker needs to provide a crafted DIF spreadsheet or a UTF-16 text file, such as a CSV file, containing a line whose length causes the import logic to miscalculate its bounds. The issue is triggered while LibreOffice Calc imports that file.

2

What is the likely impact if a user opens a malicious file?

Memory beyond the affected input line may be copied into the imported document. The provided information describes an out-of-bounds read and does not establish code execution or other impacts.

3

How can I determine whether a document may have triggered the vulnerability?

Inspect whether the document was imported by LibreOffice Calc as a DIF spreadsheet or UTF-16 text file and contains crafted or malformed line data. The available information does not provide a reliable post-import detection method or affected-version list.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203