{"id":"CVE-2026-6047","published":"2026-06-15T16:22:37Z","modified":"2026-06-15T18:11:48Z","title":"Heap buffer overflow in OOXML text box element import","vendor":"The Document Foundation","product":"LibreOffice","tier":"tail","description":{"text":"LibreOffice can import documents in the OOXML format (DOCX). A heap buffer overflow existed when replaying deferred parser events for a text box element. A handler object was assumed to be of one type and written to at that type's field layout, but it could be a smaller object, so the write landed past the end of the allocation. In fixed versions the type is checked before the write.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00154,"percentile":0.04616,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2026-6047","tags":[]}],"priority":{"score":4.7,"factors":[{"name":"EPSS percentile","points":0.92},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"the-document-foundation","affectedVersions":[{"vendor":"The Document Foundation","product":"LibreOffice","versions":[">= 25.8, < < 25.8.7",">= 26.2, < < 26.2.3"]}],"capec":[{"id":"CAPEC-44","name":"Overflow Binary Resource File"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-15T18:11:34.358602Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-36737","exploited":false,"provenance":"source"}}