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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-16 · Modified: 2026-11-17
- Aliases: DEBIAN-CVE-2026-97894, UBUNTU-CVE-2026-97894
- Record: https://cvemate.com/vulnerability/CVE-2026-97894 · JSON: https://cvemate.com/vulnerability/CVE-2026-97894/json

## Description

```text
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.
```

## Signals

- CVSS: 5.4 medium (v4.0, CVE.org) 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
- EPSS: 0.159%, percentile 5.251%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libreoffice (Debian): All versions (No fix recorded) \| \< 4:25.2.3-2+deb13u12 \| \< 4:26.8.2.2-2
- ubuntu libreoffice (Ubuntu): All versions (No fix recorded)
- the document foundation libreoffice: ≥ 26.2, \< \< 26.2.7 \| ≥ 26.8, \< \< 26.8.2

## References

- <https://www.libreoffice.org/about-us/security/advisories/cve-2026-97894>
- <https://security-tracker.debian.org/tracker/CVE-2026-97894>
- <https://ubuntu.com/security/CVE-2026-97894>
- <https://www.cve.org/CVERecord?id=CVE-2026-97894>
- <https://www.libreoffice.org/security/#cve-2026-97894>

---

Data as of 2026-12-05T04:59:09.191Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
