{"id":"CVE-2026-6045","state":"PUBLISHED","title":"Heap buffer overflow in EMF+ gradient brush import","description":"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.","publishedAt":"2026-06-15T16:22:16.574Z","updatedAt":"2026-10-21T09:30:52.886Z","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-6045"],"weaknesses":["CWE-787","CWE-190"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/6xxx/CVE-2026-6045.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-6045","state":"PUBLISHED","datePublished":"2026-06-15T16:22:16.574Z","dateUpdated":"2026-10-21T09:30:52.886Z","assignerShortName":"Document Fdn.","assignerOrgId":"4fe7d05b-1353-44cc-8b7a-1e416936dff2","dateReserved":"2026-04-09T19:07:34.963Z"},"containers":{"cna":{"title":"Heap buffer overflow in EMF+ gradient brush import","descriptions":[{"lang":"en","value":"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."}],"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-6045"}],"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-190","lang":"en","description":"CWE-190 Integer Overflow or Wraparound","type":"CWE"}]}],"providerMetadata":{"shortName":"Document Fdn.","orgId":"4fe7d05b-1353-44cc-8b7a-1e416936dff2","dateUpdated":"2026-10-21T09:30:52.886Z"},"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"},{"lang":"en","type":"finder","value":"Anonymous working with TrendAI Zero Day Initiative"},{"lang":"en","type":"remediation developer","value":"Caolán McNamara of Collabora Productivity"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.2"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-15T18:12:50.303654Z","id":"CVE-2026-6045","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:13:24.274Z"}}]}}}