CVE-2026-6045 in Libreoffice
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 an...
Affects 1 product from 1 vendor. Facts below cite their sources.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Libreoffice | Libreoffice | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-6045 |
|---|---|
| Published | 2026-06-15 |
| Last modified | 2026-10-25 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-190: Integer Overflow or Wraparound
Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-190
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A unscored severity vulnerability (CVE-2026-6045) affects the target system. 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 tha...
Questions
What is CVE-2026-6045?
A unscored severity vulnerability (CVE-2026-6045) affects the target system. 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 tha...
What is the CVSS score for CVE-2026-6045?
CVE-2026-6045 has CVSS 7.8 (High). Vector: None. EPSS: 0.2%.
Is CVE-2026-6045 actively exploited?
No confirmed active exploitation of CVE-2026-6045 as of 2026-11-03.
How do I remediate CVE-2026-6045?
Apply vendor patches for CVE-2026-6045. Monitor Libreoffice advisories.
What systems are affected by CVE-2026-6045?
CVE-2026-6045 affects Libreoffice Libreoffice.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Libreoffice","product":"Libreoffice","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-25.