{"id":"CVE-2026-18566","kind":"vulnerability","aliases":["CVE-2026-18566"],"related":[],"title":"LibreOffice: crafted EMF and WMF images can read memory out of bounds","description":"LibreOffice can import EMF, EMF+ and WMF images, which may be embedded in documents. Several out-of-bounds reads existed in the readers for these formats, because sizes, counts and offsets taken from a crafted image were not checked against the data the image actually holds. In fixed versions these values are checked against the size of each record and the data that remains, and a record that fails the checks is not used.","summary":"LibreOffice's readers for EMF, EMF+ and WMF image formats do not check sizes, counts and offsets taken from an image against the data it holds, so a crafted image embedded in a document causes out-of-bounds reads. An attacker gets reads of memory beyond the intended buffers, which can leak data or crash the program.","severity":"medium","cvss":5.4,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"LibreOffice","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["libreoffice","office-documents","other"],"not_affected_if":["no-untrusted-documents"],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-11-16T17:17:33+00:00","first_seen_at":"2026-11-16T17:37:56+00:00","triaged_at":"2026-11-16T17:39:11+00:00","updated_at":"2026-11-16T17:39:11+00:00","category":"other","confidence":0.5,"triage":{"at":"2026-11-16T17:39:11Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"local","title":"LibreOffice: crafted EMF and WMF images can read memory out of bounds","impact":"low","summary":"LibreOffice's readers for EMF, EMF+ and WMF image formats do not check sizes, counts and offsets taken from an image against the data it holds, so a crafted image embedded in a document causes out-of-bounds reads. An attacker gets reads of memory beyond the intended buffers, which can leak data or crash the program.","audience":"businesses","category":"other","nicknames":[],"who_cares":["libreoffice","office-documents"],"confidence":0.5,"fix_status":"unknown","needs_auth":"no","worst_case":"memory beyond image buffers is read, leaking data or crashing LibreOffice","analyst_note":"Confirm affected and fixed LibreOffice version ranges from the NVD entry or the Document Foundation advisory, and whether the out-of-bounds reads allow more than a crash.","how_to_check":"unknown","plain_action":"","product_name":"LibreOffice","needs_analyst":true,"not_affected_if":["no-untrusted-documents"],"who_is_affected":"Any installation of LibreOffice that opens documents containing EMF, EMF+ or WMF images can be exposed, since the flaw is in the image import code that runs when a document is loaded. Systems that never open untrusted office documents are less exposed. The sources do not name affected version ranges.","user_interaction":"yes","product_ecosystem":"vendor","needs_special_setup":"no","severity_if_unknown":"medium"},"cost_usd":0.000729,"input_tokens":4573,"output_tokens":544,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-18566':15A,18A '-2026':14A,17A 'actual':127C 'attack':65B 'beyond':70B 'bound':12A,62B,100C 'buffer':73B 'caus':58B 'check':36B,121C,135C,153C 'count':38B,111C 'craft':2A,52B,117C 'crash':79B 'cve':13A,16A 'data':47B,77B,124C,144C 'document':23B,57B,95C 'embed':54B,93C 'emf':3A,28B,29B,85C,86C 'exist':102C 'fail':151C 'fix':130C 'format':33B,108C 'get':66B 'hold':49B,128C 'imag':6A,32B,44B,53B,89C,118C,126C 'import':84C 'intend':72B 'leak':76B 'libreoffic':1A,20B,24B,82C 'libreoffice':19A 'may':91C 'memori':9A,69B 'offic':22B 'office-docu':21B 'offset':40B,113C 'out-of-bound':59B,97C 'program':81B 'read':8A,63B,67B,101C 'reader':26B,105C 'record':141C,149C 'remain':146C 'sever':96C 'size':37B,110C,138C 'taken':41B,114C 'use':156C 'valu':133C 'version':131C 'wmf':5A,31B,88C","nicknames":[],"mitigations":[],"who_affected":"Any installation of LibreOffice that opens documents containing EMF, EMF+ or WMF images can be exposed, since the flaw is in the image import code that runs when a document is loaded. Systems that never open untrusted office documents are less exposed. The sources do not name affected version ranges.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"businesses","plain_action":null,"pkeys":["libreoffice"],"ptokens":["libreoffice"],"labels":["libreoffice","medium","officedocuments","other","vendor"],"campaign_type":null,"search_a":"'-18566':15A,18A '-2026':14A,17A 'bound':12A 'craft':2A 'cve':13A,16A 'emf':3A 'imag':6A 'libreoffic':1A 'libreoffice':19A 'memori':9A 'read':8A 'wmf':5A","search_b":"'attack':65B 'beyond':70B 'bound':62B 'buffer':73B 'caus':58B 'check':36B 'count':38B 'craft':52B 'crash':79B 'data':47B,77B 'document':23B,57B 'embed':54B 'emf':28B,29B 'format':33B 'get':66B 'hold':49B 'imag':32B,44B,53B 'intend':72B 'leak':76B 'libreoffic':20B,24B 'memori':69B 'offic':22B 'office-docu':21B 'offset':40B 'out-of-bound':59B 'program':81B 'read':63B,67B 'reader':26B 'size':37B 'taken':41B 'wmf':31B","search_c":"'actual':127C 'bound':100C 'check':121C,135C,153C 'count':111C 'craft':117C 'data':124C,144C 'document':95C 'embed':93C 'emf':85C,86C 'exist':102C 'fail':151C 'fix':130C 'format':108C 'hold':128C 'imag':89C,118C,126C 'import':84C 'libreoffic':82C 'may':91C 'offset':113C 'out-of-bound':97C 'read':101C 'reader':105C 'record':141C,149C 'remain':146C 'sever':96C 'size':110C,138C 'taken':114C 'use':156C 'valu':133C 'version':131C 'wmf':88C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T17:17:33+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-18566","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18566","severity":null,"published_at":"2026-11-16T17:17:33+00:00","modified_at":"2026-11-16T17:17:33+00:00","first_seen_at":"2026-11-16T17:37:56+00:00","fetched_at":"2026-11-16T17:37:56+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"}