{"id":"CVE-2026-6045","published":"2026-06-15T16:22:16Z","modified":"2026-10-21T09:30:52Z","title":"Heap buffer overflow in EMF+ gradient brush import","vendor":"The Document Foundation","product":"LibreOffice","tier":"tail","description":{"text":"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.","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.00208,"percentile":0.11067,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2026-6045","tags":[]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":2.21},{"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:12:50.303654Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-36736","exploited":false,"provenance":"source"}}