{"id":"CVE-2026-6047","state":"PUBLISHED","title":"Heap buffer overflow in OOXML text box element import","description":"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.","publishedAt":"2026-06-15T16:22:37.208Z","updatedAt":"2026-06-15T18:11:48.806Z","severity":{"score":5.4,"label":"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","source":"Document Fdn."},"assigner":"Document Fdn.","products":["The Document Foundation LibreOffice"],"affected":[{"vendor":"The Document Foundation","product":"LibreOffice","defaultStatus":"unknown","versions":[{"version":"25.8","status":"affected","lessThan":"< 25.8.7","versionType":"25.8 series"},{"version":"26.2","status":"affected","lessThan":"< 26.2.3","versionType":"26.2 series"}]}],"references":["https://www.libreoffice.org/about-us/security/advisories/cve-2026-6047"],"weaknesses":["CWE-787","CWE-843"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/6xxx/CVE-2026-6047.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-6047","state":"PUBLISHED","datePublished":"2026-06-15T16:22:37.208Z","dateUpdated":"2026-06-15T18:11:48.806Z","assignerShortName":"Document Fdn.","assignerOrgId":"4fe7d05b-1353-44cc-8b7a-1e416936dff2","dateReserved":"2026-04-09T19:21:23.491Z"},"containers":{"cna":{"title":"Heap buffer overflow in OOXML text box element import","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"The Document Foundation","product":"LibreOffice","defaultStatus":"unknown","versions":[{"version":"25.8","status":"affected","lessThan":"< 25.8.7","versionType":"25.8 series"},{"version":"26.2","status":"affected","lessThan":"< 26.2.3","versionType":"26.2 series"}]}],"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2026-6047"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"PROOF_OF_CONCEPT","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":5.4,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787 Out-of-bounds Write","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-843","lang":"en","description":"CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')","type":"CWE"}]}],"providerMetadata":{"shortName":"Document Fdn.","orgId":"4fe7d05b-1353-44cc-8b7a-1e416936dff2","dateUpdated":"2026-06-15T16:22:37.208Z"},"datePublic":"2026-06-15T00:00:00.000Z","impacts":[{"capecId":"CAPEC-44","descriptions":[{"lang":"en","value":"CAPEC-44 Overflow Binary Resource File"}]}],"credits":[{"lang":"en","value":"Anthropic (automated discovery using Claude)","type":"finder"},{"lang":"en","value":"Trail of Bits (triage and validation)","type":"analyst"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.2"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-15T18:11:34.358602Z","id":"CVE-2026-6047","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-15T18:11:48.806Z"}}]}}}