CVE-2026-97894
5.4medium
Out-of-bounds read in UTF-16 text and DIF spreadsheet import
- Severity
- 5.4medium CVSS:4.0 by Document Fdn.
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Document Fdn.
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
| Product or package | Versions | Reported by |
|---|---|---|
| The Document Foundation LibreOffice | from 26.2 before < 26.2.7, from 26.8 before < 26.8.2 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-97894 changed 2026-11-17 | CVE Terms of Use |
| NVD | CVE-2026-97894 changed 2026-11-17 | Public domain |