CVE-2026-97894

Out-of-bounds read in UTF-16 text and DIF spreadsheet import

Published Nov 16, 2026 CVSS 4.0 · 5.4 Medium EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Out-of-bounds read in UTF-16 text and DIF spreadsheet import
Weaknesses CWE-125
CWE-191
References
Metrics cvssV4_0

{'score': 5.4, 'vector': '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'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
Document Fdn.
Published
Updated
Nov 16, 2026, 4:40 PM
Reserved
Sep 25, 2026, 10:03 AM

No data.