| Name | CVE-2026-6039 |
| Description | LibreOffice can import drawings in the DXF format used by CAD software. A heap buffer overflow existed when importing a DXF polyline. The point count taken from the file was truncated to a 16-bit value when the point buffer was sized, while the full count was used to fill it, so a polyline whose point count exceeded the 16-bit range was written past the end of the buffer. In fixed versions such oversized polylines are rejected. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4633-1, DSA-6346-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| libreoffice (PTS) | bullseye | 1:7.0.4-4+deb11u10 | vulnerable |
| bullseye (security) | 1:7.0.4-4+deb11u13 | vulnerable |
| bookworm | 4:7.4.7-1+deb12u12 | vulnerable |
| bookworm (security) | 4:7.4.7-1+deb12u13 | fixed |
| trixie | 4:25.2.3-2+deb13u4 | vulnerable |
| trixie (security) | 4:25.2.3-2+deb13u5 | fixed |
| forky | 4:26.2.4.2-1 | fixed |
| sid | 4:26.2.4.2-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://www.libreoffice.org/about-us/security/advisories/cve-2026-6039