CVE-2026-97894Out-of-bounds read in UTF-16 text and DIF spreadsheet import
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libreoffice | Fix pending | UBUNTU-CVE-2026-97894 | |
| Ubuntu 26.04 | libreoffice | Under investigation | UBUNTU-CVE-2026-97894 | |
| Ubuntu 24.04 | libreoffice | Under investigation | UBUNTU-CVE-2026-97894 | |
| Ubuntu 22.04 | libreoffice | Under investigation | UBUNTU-CVE-2026-97894 | |
| Ubuntu 20.04 | libreoffice | Fix pending | UBUNTU-CVE-2026-97894 | |
| Debian 14 | libreoffice | Fixed | 4:26.8.2.2-2 | DEBIAN-CVE-2026-97894 |
| Debian 13 | libreoffice | Fixed | 4:25.2.3-2+deb13u12 | DEBIAN-CVE-2026-97894 |
| Debian 12 | libreoffice | Fix pending | DEBIAN-CVE-2026-97894 |
What the vendor says
As published in the CVE record by Document Fdn., the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- The Document Foundation LibreOffice: affected: 26.2 to before < 26.2.7, 26.8 to before < 26.8.2
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.