Home › CVE › Vulnerabilities
CVE-2026-97894 — The Document Foundation LibreOffice
One of 24 The Document Foundation LibreOffice vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
Medium · 5.4
An attacker without an account can exploit this with local access if a user views or visits something.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on availability, low on confidentiality, none on integrity
- Impact on other systems
- none
- Exploit maturity
- a proof-of-concept exploit is public
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| The Document Foundation LibreOffice | ≥ 26.2, < < 26.2.7 | < 26.2.7 |
| ≥ 26.8, < < 26.8.2 | < 26.8.2 |
References by type
Other references
Affected
- The Document Foundation LibreOffice
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-97894?
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. Weakness type: Out-of-bounds Read (CWE-125).
How severe is CVE-2026-97894?
CVE-2026-97894 has a CVSS 4.0 base score of 5.4 (medium), from the CNA (documentfoundation.org). An attacker without an account can exploit this with local access if a user views or visits something.
Is CVE-2026-97894 being exploited?
Not as far as is known: CVE-2026-97894 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-97894?
The Document Foundation LibreOffice ≥ 26.2, < < 26.2.7 (fixed in < 26.2.7); The Document Foundation LibreOffice ≥ 26.8, < < 26.8.2 (fixed in < 26.8.2).
How do I fix CVE-2026-97894?
Update to a fixed release: The Document Foundation LibreOffice < 26.2.7; The Document Foundation LibreOffice < 26.8.2.