Heap buffer overflow in EMF+ gradient brush import
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.
CVE-2026-6045
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-6045
LibreOffice
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "The Document Foundation",
"product": "LibreOffice",
"versions": [
{
"status": "affected",
"version": "25.8",
"lessThan": "< 25.8.7",
"versionType": "25.8 series"
},
{
"status": "affected",
"version": "26.2",
"lessThan": "< 26.2.3",
"versionType": "26.2 series"
}
],
"defaultStatus": "unknown"
}
]- Related CVEs
- CVE-2026-6045
Source reference:
/cveMetadata/cveId
Publisher severity
medium
Source reference: /containers/cna/metrics
- Event
- #45748 · Revision 1
- Added to Heist Feed
- Publisher date