Heap buffer overflow in DXF polyline import (The Document Foundation LibreOffice)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.20 % Β· percentile 9 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Document Fdn.
- NVD status
- Deferred
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.
Weaknesses (CWE)
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | MEDIUM 5.4 | 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 | Document Fdn. |
| CVSS 4.0 | MEDIUM 5.4 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD Β· security@documentfoundation.org (Secondary) |
European references
- ENISA EUVD Β· EUVD-2026-36734
- GCVE Β· GCVE-0-2026-6039
Affected products
| Product | Versions |
|---|---|
| The Document Foundation Β· LibreOffice | affected 25.8 < < 25.8.7 ; affected 26.2 < < 26.2.3 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |