{"id":"CVE-2026-97894","kind":"vulnerability","aliases":["CVE-2026-97894"],"related":[],"title":"LibreOffice Calc: crafted DIF or UTF-16 files can leak memory into documents","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.","summary":"LibreOffice Calc can read a crafted DIF spreadsheet or UTF-16 text file and copy memory beyond a line into the imported document. An attacker who gets a user to open such a file can read data from the application's memory.","severity":"medium","cvss":5.4,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["desktop","documents","libreoffice","package"],"not_affected_if":["no-untrusted-files"],"how_to_check":"- Check the installed LibreOffice version (Help > About LibreOffice) against the fixed versions below.","fix":null,"status":"open","published_at":"2026-11-16T17:17:55+00:00","first_seen_at":"2026-11-16T17:37:59+00:00","triaged_at":"2026-11-16T17:39:06+00:00","updated_at":"2026-11-16T17:39:06+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-11-16T17:39:06Z","model":"claude-haiku-5-5","output":{"fix":"- unknown","reach":"local","title":"LibreOffice Calc: crafted DIF or UTF-16 files can leak memory into documents","impact":"low","summary":"LibreOffice Calc can read a crafted DIF spreadsheet or UTF-16 text file and copy memory beyond a line into the imported document. An attacker who gets a user to open such a file can read data from the application's memory.","audience":"everyone","category":"package","nicknames":[],"who_cares":["libreoffice","desktop","documents"],"confidence":0.6,"fix_status":"unknown","needs_auth":"no","worst_case":"Memory contents from the application leak into an opened document","analyst_note":"Confirm fixed LibreOffice versions from the vendor advisory or the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-97894.","how_to_check":"- Check the installed LibreOffice version (Help > About LibreOffice) against the fixed versions below.\n- unknown","plain_action":"Update LibreOffice to a fixed version and avoid opening unknown DIF or CSV files until you do.","product_name":"","needs_analyst":true,"not_affected_if":["no-untrusted-files"],"who_is_affected":"Anyone who opens DIF spreadsheets or UTF-16 encoded text files in LibreOffice Calc, most likely from untrusted sources. Systems that never open such files from outside sources are much less exposed. unknown","user_interaction":"yes","product_ecosystem":"","needs_special_setup":"no","severity_if_unknown":"medium"},"cost_usd":0.000726,"input_tokens":4587,"output_tokens":534,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-16':7A,34B,84C '-2026':15A,18A '-97894':16A,19A 'applic':63B 'attack':48B 'beyond':40B,121C 'bound':98C 'calc':2A,25B,67C 'copi':38B,126C 'could':116C,124C 'craft':3A,29B,106C 'csv':80C 'cve':14A,17A 'data':60B 'desktop':20B 'dif':4A,30B,73C 'document':13A,21B,46B,130C 'encod':85C 'exist':100C 'file':8A,36B,57B,77C,107C 'fix':132C 'format':74C 'get':50B 'import':45B,129C 'leak':10A 'length':112C 'libreoffic':1A,22B,24B,66C 'limit':141C 'line':42B,90C,103C,115C,123C,135C 'memori':11A,39B,65B,120C 'miscalcul':118C 'one':89C 'open':54B,69C 'out-of-bound':95C 'packag':23B 'read':27B,59B,88C,99C,109C,137C 'spreadsheet':31B,70C 'text':35B,76C 'time':93C 'user':52B 'utf':6A,33B,83C 'version':133C","nicknames":[],"mitigations":[],"who_affected":"Anyone who opens DIF spreadsheets or UTF-16 encoded text files in LibreOffice Calc, most likely from untrusted sources. Systems that never open such files from outside sources are much less exposed. unknown","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"everyone","plain_action":"Update LibreOffice to a fixed version and avoid opening unknown DIF or CSV files until you do.","pkeys":[],"ptokens":[],"labels":["desktop","documents","libreoffice","medium","package"],"campaign_type":null,"search_a":"'-16':7A '-2026':15A,18A '-97894':16A,19A 'calc':2A 'craft':3A 'cve':14A,17A 'dif':4A 'document':13A 'file':8A 'leak':10A 'libreoffic':1A 'memori':11A 'utf':6A","search_b":"'-16':34B 'applic':63B 'attack':48B 'beyond':40B 'calc':25B 'copi':38B 'craft':29B 'data':60B 'desktop':20B 'dif':30B 'document':21B,46B 'file':36B,57B 'get':50B 'import':45B 'libreoffic':22B,24B 'line':42B 'memori':39B,65B 'open':54B 'packag':23B 'read':27B,59B 'spreadsheet':31B 'text':35B 'user':52B 'utf':33B","search_c":"'-16':84C 'beyond':121C 'bound':98C 'calc':67C 'copi':126C 'could':116C,124C 'craft':106C 'csv':80C 'dif':73C 'document':130C 'encod':85C 'exist':100C 'file':77C,107C 'fix':132C 'format':74C 'import':129C 'length':112C 'libreoffic':66C 'limit':141C 'line':90C,103C,115C,123C,135C 'memori':120C 'miscalcul':118C 'one':89C 'open':69C 'out-of-bound':95C 'read':88C,99C,109C,137C 'spreadsheet':70C 'text':76C 'time':93C 'utf':83C 'version':133C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T17:17:55+00:00","kev":null,"cvss_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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"security@documentfoundation.org","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-97894","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97894","severity":null,"published_at":"2026-11-16T17:17:55+00:00","modified_at":"2026-11-16T17:17:55+00:00","first_seen_at":"2026-11-16T17:37:59+00:00","fetched_at":"2026-11-16T17:37:59+00:00","note":null}],"documents":[],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}