cve.bz

CVE-2026-6039 the document foundation libreoffice: Numeric Truncation Error

5.4 mediumEPSS 0.2%

Medium (5.4) in the document foundation libreoffice. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

5.4 medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:P
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-197 Numeric Truncation Error
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-6039 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-6039?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-6039?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-6039 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
The Document Foundation LibreOfficefrom 25.8 before < 25.8.7
The Document Foundation LibreOfficefrom 26.2 before < 26.2.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libreoffice4:7.4.7-1+deb12u13DEBIAN-CVE-2026-6039 DLA-4633-1
Debian13libreoffice4:25.2.3-2+deb13u5DEBIAN-CVE-2026-6039 DSA-6346-1
Debian14libreoffice4:26.2.3.2-2DEBIAN-CVE-2026-6039
Ubuntu20.04:LTS, 25.10libreofficeno fix listedUBUNTU-CVE-2026-6039
Ubuntu22.04:LTSlibreoffice1:7.3.7-0ubuntu0.22.04.12UBUNTU-CVE-2026-6039 USN-8534-1
Ubuntu24.04:LTSlibreoffice4:24.2.7-0ubuntu0.24.04.6UBUNTU-CVE-2026-6039 USN-8534-1
Ubuntu26.04:LTSlibreoffice4:26.2.4.2-0ubuntu0.26.04.2UBUNTU-CVE-2026-6039 USN-8534-1
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7libreoffice26.2.5.1-150500.20.37.1SUSE-SU-2026:3140-1
openSUSELeap 16.0libreoffice26.8.1.1-bp160.1.1openSUSE-SU-2026:22216-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate impact flaw in LibreOffice, a desktop productivity suite, is due to a heap buffer overflow when processing malformed DXF polyline files. An attacker could exploit this by tricking a user into opening a specially crafted DXF file, leading to application instability and potential denial of service. This issue primarily affects desktop environments where LibreOffice is used to open untrusted drawing files.

Red Hat's mitigation

Users should exercise caution when opening DXF files from untrusted sources. Restricting the processing of untrusted or unverified DXF documents can reduce the risk of exploitation.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6libreofficeOut of support scope
Red Hat Enterprise Linux 7libreofficeOut of support scope
Red Hat Enterprise Linux 8libreofficeFix deferred
Red Hat Enterprise Linux 9libreofficeFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-6039.

References

Check your stackJSON