Skip to content
OpenAdvisories
Medium USN-8534-1 6 CVEs

libreoffice vulnerabilities

Published Jul 13, 2026 · Updated Jul 14, 2026

Summary

It was discovered that LibreOffice incorrectly handled importing DXF
drawings. An attacker could use this issue to cause LibreOffice to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2026-6039)

It was discovered that LibreOffice incorrectly handled certain ODF number
formats. An attacker could use this issue to cause LibreOffice to crash,
resulting in a denial of service, or possibly execute arbitrary code. This
issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-6040)

It was discovered that LibreOffice incorrectly handled importing EMF+
graphics. An attacker could use this issue to cause LibreOffice to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2026-6045)

It was discovered that LibreOffice incorrectly handled importing PPT
presentations. An attacker could use this issue to cause LibreOffice to
crash, resulting in a denial of service, or possibly execute arbitrary
code. (CVE-2026-8356)

It was discovered that LibreOffice Calc incorrectly handled compiling
certain formulas. An attacker could use this issue to cause LibreOffice to
crash, resulting in a denial of service, or possily execute arbitrary code.
(CVE-2026-8357)

It was discovered that LibreOffice Calc incorrectly handled importing
spreadsheet tracked changes. An attacker could use this issue to cause
LibreOffice to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2026-8358)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS libreoffice 1:7.3.7-0ubuntu0.22.04.12
Ubuntu · 24.04 LTS 24.04:LTS libreoffice 4:24.2.7-0ubuntu0.24.04.6
Ubuntu · 26.04 LTS 26.04:LTS libreoffice 4:26.2.4.2-0ubuntu0.26.04.2

Vulnerabilities 6

  • Medium 5.4

    Heap buffer overflow in DXF polyline import

    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…

  • Medium 5.4

    Heap use-after-free in ODF number-format blank-width parsing

    A heap use-after-free existed when importing the blank-width characters of an ODF number format. A position value read from the document was not checked against the length of the format-code string, so a malformed number format could be processed against memo…

  • Medium 5.4

    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 multipl…

  • Medium 5.4

    Stack buffer overflow in PPT presentation import

    LibreOffice can import presentations in the legacy binary PPT format. A stack buffer overflow existed when importing a colour-replacement record. Two fixed-size colour tables were filled from the file, but the write position was not reset between the two pass…

  • Medium 5.4

    Heap buffer overflow in Calc formula compilation

    LibreOffice Calc compiles cell formulas when opening a spreadsheet. A heap buffer overflow existed when compiling a very long formula made up of many opening tokens. The array that tracks nesting depth was allocated one element too small for that worst case, …

  • Medium 5.4

    Heap buffer overflow in spreadsheet tracked-changes import

    LibreOffice Calc can import tracked changes from a spreadsheet document. A heap buffer overflow existed when a document reused the same change identifier for two different kinds of change. The importer then treated one change object as a different, larger typ…

References

  • report
    https://ubuntu.com/security/CVE-2026-6039
  • report
    https://ubuntu.com/security/CVE-2026-6040
  • report
    https://ubuntu.com/security/CVE-2026-6045
  • report
    https://ubuntu.com/security/CVE-2026-8356
  • report
    https://ubuntu.com/security/CVE-2026-8357
  • report
    https://ubuntu.com/security/CVE-2026-8358