CVE-2026-6045

NameCVE-2026-6045
DescriptionLibreOffice 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6346-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libreoffice (PTS)bullseye1:7.0.4-4+deb11u10vulnerable
bullseye (security)1:7.0.4-4+deb11u13vulnerable
bookworm4:7.4.7-1+deb12u12vulnerable
bookworm (security)4:7.4.7-1+deb12u11vulnerable
trixie4:25.2.3-2+deb13u4vulnerable
trixie (security)4:25.2.3-2+deb13u5fixed
forky, sid4:26.2.4.2-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libreofficesourcetrixie4:25.2.3-2+deb13u5DSA-6346-1
libreofficesource(unstable)(unfixed)

Notes

https://www.libreoffice.org/about-us/security/advisories/cve-2026-6045

Search for package or bug name: Reporting problems