{"id":"CVE-2026-104920","kind":"vulnerability","aliases":["CVE-2026-104920"],"related":[],"title":"LibreOffice Calc: crafted document can load remote Java database driver and run code","description":"LibreOffice Calc can link a cell range to an external data source, and the link is saved in the document. A Java database driver for such a link is loaded from a class path. Opening a crafted document could still load a Java database driver from a location outside the local machine and run its code, by a route that the fix for CVE-2026-63277 did not cover. In fixed versions an entry in a Java class path has to be a file URL that names a file on the local machine.","summary":"LibreOffice Calc can link a cell range to an external data source, and that link is saved in the document. Opening a crafted document can make LibreOffice load a Java database driver from a location outside the local machine and run its code.","severity":"high","cvss":8.5,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"libreoffice","fixed":["26.2.7","26.8.2"],"affected":"< 26.2.7 (26.2 branch); < 26.8.2 (26.8 branch)","ecosystem":"vendor"}],"ecosystems":[],"tags":["calc","desktop","java","libreoffice","package"],"not_affected_if":["patched"],"how_to_check":"Open Help > About in LibreOffice: exposed if the version is older than 26.2.7 (26.2 branch) or 26.8.2 (26.8 branch). The advisory does not say whether the Java runtime must be enabled; for the earlier sibling CVE-2026-63277 Red Hat says disabling Java (Tools > Options > LibreOffice > Advanced) removes the vector, so check that setting as a possible stopgap, not confirmed for this CVE.","fix":"Upgrade LibreOffice to 26.2.7 (26.2 branch) or 26.8.2 (26.8 branch) or later. In fixed versions an entry in a Java class path must be a file URL naming a file on the local machine.","status":"open","published_at":"2026-11-16T17:17:27+00:00","first_seen_at":"2026-11-16T17:37:55+00:00","triaged_at":"2026-11-16T17:38:41+00:00","updated_at":"2026-11-16T17:40:25+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-16T17:38:41Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"unknown","title":"LibreOffice Calc: crafted document can load remote Java database driver and run code","impact":"high","summary":"LibreOffice Calc can link a cell range to an external data source, and that link is saved in the document. Opening a crafted document can make LibreOffice load a Java database driver from a location outside the local machine and run its code.","audience":"everyone","category":"package","nicknames":[],"who_cares":["libreoffice","calc","java"],"confidence":0.6,"fix_status":"unknown","needs_auth":"no","worst_case":"code from a remote Java driver runs on the machine","analyst_note":"Find the fixed LibreOffice versions and the Java class path setting from the NVD entry or the LibreOffice advisory; confirm whether the Java runtime must be enabled for the exposure.","how_to_check":"unknown","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":[],"who_is_affected":"Anyone who opens untrusted spreadsheets in LibreOffice Calc with a Java runtime available could be exposed. The sources do not name the fixed LibreOffice versions or give a setting to change, so the sources do not say who can skip it.","user_interaction":"yes","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000684,"input_tokens":4581,"output_tokens":452,"severity_before":"high"},"analyst_status":"done","analyst_note":"Find the fixed LibreOffice versions and the Java class path setting from the NVD entry or the LibreOffice advisory; confirm whether the Java runtime must be enabled for the exposure.","search":"'-104920':16A,19A '-2026':15A,18A,133C '-63277':134C 'calc':2A,21B,27B,70C 'cell':31B,74C 'class':101C,146C 'code':13A,68B,124C 'could':107C 'cover':137C 'craft':3A,48B,105C 'cve':14A,17A,132C 'data':36B,79C 'databas':9A,56B,91C,112C 'desktop':22B 'document':4A,45B,49B,88C,106C 'driver':10A,57B,92C,113C 'entri':142C 'extern':35B,78C 'file':152C,157C 'fix':130C,139C 'java':8A,23B,55B,90C,111C,145C 'libreoffic':1A,24B,26B,52B,69C 'libreoffice':20A 'link':29B,40B,72C,83C,96C 'load':6A,53B,98C,109C 'local':63B,119C,160C 'locat':60B,116C 'machin':64B,120C,161C 'make':51B 'name':155C 'open':46B,103C 'outsid':61B,117C 'packag':25B 'path':102C,147C 'rang':32B,75C 'remot':7A 'rout':127C 'run':12A,66B,122C 'save':42B,85C 'sourc':37B,80C 'still':108C 'url':153C 'version':140C","nicknames":[],"mitigations":[],"who_affected":"Anyone who opens untrusted spreadsheets in LibreOffice Calc older than 26.2.7 (26.2 branch) or 26.8.2 (26.8 branch). A crafted document can link a cell range to a data source and name a Java database driver on a non-local class path, and LibreOffice loads and runs it. This route was not covered by the CVE-2026-63277 fix in 26.2.5/26.8.0. Skip it if you are on 26.2.7/26.8.2 or later, or never open documents from outside.","tier":"B","verified":{"fix":{"at":"2026-11-16T17:40:25Z","by":"analyst","doc":"https://www.libreoffice.org/security/","run_id":4146}},"analyst_revisit_at":null,"fix_status":"available","audience":"everyone","plain_action":"Update LibreOffice to the latest version (26.2.7 or 26.8.2 or newer) from libreoffice.org.","pkeys":["libreoffice"],"ptokens":["libreoffice"],"labels":["calc","desktop","high","java","libreoffice","package"],"campaign_type":null,"search_a":"'-104920':16A,19A '-2026':15A,18A 'calc':2A 'code':13A 'craft':3A 'cve':14A,17A 'databas':9A 'document':4A 'driver':10A 'java':8A 'libreoffic':1A 'libreoffice':20A 'load':6A 'remot':7A 'run':12A","search_b":"'calc':21B,27B 'cell':31B 'code':68B 'craft':48B 'data':36B 'databas':56B 'desktop':22B 'document':45B,49B 'driver':57B 'extern':35B 'java':23B,55B 'libreoffic':24B,26B,52B 'link':29B,40B 'load':53B 'local':63B 'locat':60B 'machin':64B 'make':51B 'open':46B 'outsid':61B 'packag':25B 'rang':32B 'run':66B 'save':42B 'sourc':37B","search_c":"'-2026':133C '-63277':134C 'calc':70C 'cell':74C 'class':101C,146C 'code':124C 'could':107C 'cover':137C 'craft':105C 'cve':132C 'data':79C 'databas':91C,112C 'document':88C,106C 'driver':92C,113C 'entri':142C 'extern':78C 'file':152C,157C 'fix':130C,139C 'java':90C,111C,145C 'libreoffic':69C 'link':72C,83C,96C 'load':98C,109C 'local':119C,160C 'locat':116C 'machin':120C,161C 'name':155C 'open':103C 'outsid':117C 'path':102C,147C 'rang':75C 'rout':127C 'run':122C 'save':85C 'sourc':80C 'still':108C 'url':153C 'version':140C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T17:17:27+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/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-104920","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-104920","severity":null,"published_at":"2026-11-16T17:17:27+00:00","modified_at":"2026-11-16T17:17:27+00:00","first_seen_at":"2026-11-16T17:37:55+00:00","fetched_at":"2026-11-16T17:37:55+00:00","note":null},{"source":"analyst","external_id":"CVE-2026-104920:4146","url":"https://www.libreoffice.org/security/","severity":null,"published_at":"2026-11-16T17:40:25+00:00","modified_at":"2026-11-16T17:40:25+00:00","first_seen_at":"2026-11-16T17:40:25+00:00","fetched_at":"2026-11-16T17:40:25+00:00","note":"LibreOffice advisory (Nov 16, 2026) lists CVE-2026-104920 fixed in 26.2.7/26.8.2; bypass of the CVE-2026-63277 fix; reporter Rick de Jager (V12). Advisory does not say whether Java must be enabled (Red Hat says so for the sibling CVE-2026-63277 only), no PoC or exploitation seen for this CVE. Not checkable from repo files.","cites":["https://www.libreoffice.org/security/","https://access.redhat.com/security/cve/cve-2026-63277"]}],"documents":[{"id":171598,"url":"https://www.libreoffice.org/security/","title":"LibreOffice security advisories: CVE-2026-100101","kind":"advisory","source":"analyst","publisher":null,"text":"CVE-2026-101352 Macros run from a document's own shortcuts, menus and toolbars. Fixed in LibreOffice 26.2.7/26.8.2. A command bound in a document's own customizations could run a macro or script even when macro security settings did not allow the document's macros. In fixed versions customizations are treated like other macro content. All users recommended to upgrade to >= 26.2.7 or >= 26.8.2. Credits: Claude and Ada Logics; truff with TrendAI ZDI.","published_at":null,"relation":"advisory","confidence":null,"note":null},{"id":171602,"url":"https://access.redhat.com/security/cve/cve-2026-63277","title":"Red Hat: CVE-2026-63277 (predecessor)","kind":"vendor","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"mentions","confidence":null,"note":null}],"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"}