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

- Severity: Medium 5.4 (CVSS:4.0, scored by Document Fdn.) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-11-16T16:40:36.850Z
- Modified: 2026-11-17T18:18:00.947Z
- Weaknesses: CWE-125, CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- The Document Foundation LibreOffice: from 26.2 before < 26.2.7; from 26.8 before < 26.8.2

## References

- <https://www.libreoffice.org/about-us/security/advisories/cve-2026-97894>

## Sources

- CVE List: [CVE-2026-97894](https://www.cve.org/CVERecord?id=CVE-2026-97894), CVE Terms of Use, modified 2026-11-17
- NVD: [CVE-2026-97894](https://nvd.nist.gov/vuln/detail/CVE-2026-97894), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-97894 · Whole record: https://cve.day/CVE-2026-97894.json · Rebuilt by cve.day 2026-11-25T22:59:50.905Z
