CVE-2026-6045
Heap buffer overflow in EMF+ gradient brush import
Reported by document fdn. · Published June 15, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| LibreOffice | The Document Foundation | < 26.2.3, < 25.8.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The Document Foundation | LibreOffice | 25.8, 26.2 |
| The Document Foundation | LibreOffice | 25.8, 26.2 |
Timeline
- Jun 15, 2026 CVE Published
- Jun 16, 2026 EPSS Score (11 in total, the first dated here)
- Jun 16, 2026 Coalition ESS Score
- Jun 17, 2026 Security Advisory (10 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (10 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-6045
vulnetix vdb fixes CVE-2026-6045
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-6045/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart