# CVE-2026-6047: Heap buffer overflow in OOXML text box element import

- Severity: Medium 5.4 (CVSS:4.0, scored by Document Fdn.) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-06-15T16:22:37.208Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-787, CWE-843
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Document Fdn.

## 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.

(As written by CVE List.)

## Affected

- The Document Foundation LibreOffice: from 25.8 before < 25.8.7; from 26.2 before < 26.2.3

## References

- <https://www.libreoffice.org/about-us/security/advisories/cve-2026-6047>

## Sources

- CVE List: [CVE-2026-6047](https://www.cve.org/CVERecord?id=CVE-2026-6047), CVE Terms of Use, modified 2026-06-15
- NVD: [CVE-2026-6047](https://nvd.nist.gov/vuln/detail/CVE-2026-6047), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-6047 · Whole record: https://cve.day/CVE-2026-6047.json · Rebuilt by cve.day 2026-11-25T22:59:24.646Z
