LibreOffice can import EMF+ graphics, which may be embedded in documents. A heap buffer overflow existed when importing an EMF+ gradient brush. The number of gradient blend points was read from the file and used to compute an allocation size, but that multiplication could overflow, so a small buffer was allocated and then filled as if it were large, writing past its end. In fixed versions the blend-point count is checked against the data actually available before allocating.
Fix
Vendor advisories in the News 1
- ZDI-26-781: LibreOffice EMF+ Brush Integer Overflow Remote Code Execution Vulnerability Zero Day Initiative: published advisories · 2026-10-16
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 3
- StatusPublished → DeferredNVD modified 2026-10-25 23:10
- CVSS5.4 (v4.0, 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) → 5.4 (v4.0, 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/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)NVD modified 2026-10-25 23:10
- First seenCVSS 5.4 · the document foundationNVD modified 2026-10-21 09:30
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.