Amazon Linux 2 : libreoffice (ALASLIBREOFFICE-2026-009)

medium Nessus Plugin ID 345795

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of libreoffice installed on the remote host is prior to 5.3.6.1-21. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2LIBREOFFICE-2026-009 advisory.

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. (CVE-2026-6039)

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 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. (CVE-2026-6045)

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 passes over the record, so a file whose combined colour counts exceeded the table size wrote past the end of the tables on the stack. In fixed versions the unused second pass is no longer read into those tables. (CVE-2026-8356)

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, so such a formula wrote one element past its end. In fixed versions the array is sized to hold the largest possible nesting. (CVE-2026-8357)

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 type and wrote past the end of its allocation. In fixed versions records with a duplicate identifier are rejected. (CVE-2026-8358)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update libreoffice' or or 'yum update --advisory ALAS2LIBREOFFICE-2026-009' to update your system.

See Also

https://alas.aws.amazon.com//AL2/ALAS2LIBREOFFICE-2026-009.html

https://alas.aws.amazon.com/faqs.html

https://explore.alas.aws.amazon.com/CVE-2026-6039.html

https://explore.alas.aws.amazon.com/CVE-2026-6045.html

https://explore.alas.aws.amazon.com/CVE-2026-8356.html

https://explore.alas.aws.amazon.com/CVE-2026-8357.html

https://explore.alas.aws.amazon.com/CVE-2026-8358.html

Plugin Details

Severity: Medium

ID: 345795

File Name: al2_ALASLIBREOFFICE-2026-009.nasl

Version: 1.2

Type: Local

Agent: unix

Published: 9/14/2026

Updated: 9/16/2026

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.84

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-8357

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 5.4

Threat Vector: CVSS:4.0/E:P

Vector: 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

CVSS Score Source: CVE-2026-8358

Vulnerability Information

CPE: cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:autocorr-af, p-cpe:/a:amazon:linux:autocorr-bg, p-cpe:/a:amazon:linux:autocorr-ca, p-cpe:/a:amazon:linux:autocorr-cs, p-cpe:/a:amazon:linux:autocorr-da, p-cpe:/a:amazon:linux:autocorr-de, p-cpe:/a:amazon:linux:autocorr-en, p-cpe:/a:amazon:linux:autocorr-es, p-cpe:/a:amazon:linux:autocorr-fa, p-cpe:/a:amazon:linux:autocorr-fi, p-cpe:/a:amazon:linux:autocorr-fr, p-cpe:/a:amazon:linux:autocorr-ga, p-cpe:/a:amazon:linux:autocorr-hr, p-cpe:/a:amazon:linux:autocorr-hu, p-cpe:/a:amazon:linux:autocorr-is, p-cpe:/a:amazon:linux:autocorr-it, p-cpe:/a:amazon:linux:autocorr-ja, p-cpe:/a:amazon:linux:autocorr-ko, p-cpe:/a:amazon:linux:autocorr-lb, p-cpe:/a:amazon:linux:autocorr-lt, p-cpe:/a:amazon:linux:autocorr-mn, p-cpe:/a:amazon:linux:autocorr-nl, p-cpe:/a:amazon:linux:autocorr-pl, p-cpe:/a:amazon:linux:autocorr-pt, p-cpe:/a:amazon:linux:autocorr-ro, p-cpe:/a:amazon:linux:autocorr-ru, p-cpe:/a:amazon:linux:autocorr-sk, p-cpe:/a:amazon:linux:autocorr-sl, p-cpe:/a:amazon:linux:autocorr-sr, p-cpe:/a:amazon:linux:autocorr-sv, p-cpe:/a:amazon:linux:autocorr-tr, p-cpe:/a:amazon:linux:autocorr-vi, p-cpe:/a:amazon:linux:autocorr-zh, p-cpe:/a:amazon:linux:libreoffice-base, p-cpe:/a:amazon:linux:libreoffice-bsh, p-cpe:/a:amazon:linux:libreoffice-calc, p-cpe:/a:amazon:linux:libreoffice-core, p-cpe:/a:amazon:linux:libreoffice-data, p-cpe:/a:amazon:linux:libreoffice-debuginfo, p-cpe:/a:amazon:linux:libreoffice-draw, p-cpe:/a:amazon:linux:libreoffice-emailmerge, p-cpe:/a:amazon:linux:libreoffice-filters, p-cpe:/a:amazon:linux:libreoffice-gdb-debug-support, p-cpe:/a:amazon:linux:libreoffice-glade, p-cpe:/a:amazon:linux:libreoffice-graphicfilter, p-cpe:/a:amazon:linux:libreoffice-gtk2, p-cpe:/a:amazon:linux:libreoffice-gtk3, p-cpe:/a:amazon:linux:libreoffice-help-ar, p-cpe:/a:amazon:linux:libreoffice-help-bg, p-cpe:/a:amazon:linux:libreoffice-help-bn, p-cpe:/a:amazon:linux:libreoffice-help-ca, p-cpe:/a:amazon:linux:libreoffice-help-cs, p-cpe:/a:amazon:linux:libreoffice-help-da, p-cpe:/a:amazon:linux:libreoffice-help-de, p-cpe:/a:amazon:linux:libreoffice-help-dz, p-cpe:/a:amazon:linux:libreoffice-help-el, p-cpe:/a:amazon:linux:libreoffice-help-es, p-cpe:/a:amazon:linux:libreoffice-help-et, p-cpe:/a:amazon:linux:libreoffice-help-eu, p-cpe:/a:amazon:linux:libreoffice-help-fr, p-cpe:/a:amazon:linux:libreoffice-help-gl, p-cpe:/a:amazon:linux:libreoffice-help-gu, p-cpe:/a:amazon:linux:libreoffice-help-hi, p-cpe:/a:amazon:linux:libreoffice-help-hr, p-cpe:/a:amazon:linux:libreoffice-help-hu, p-cpe:/a:amazon:linux:libreoffice-help-id, p-cpe:/a:amazon:linux:libreoffice-help-it, p-cpe:/a:amazon:linux:libreoffice-help-ja, p-cpe:/a:amazon:linux:libreoffice-help-ko, p-cpe:/a:amazon:linux:libreoffice-help-lt, p-cpe:/a:amazon:linux:libreoffice-help-lv, p-cpe:/a:amazon:linux:libreoffice-help-nb, p-cpe:/a:amazon:linux:libreoffice-help-nl, p-cpe:/a:amazon:linux:libreoffice-help-nn, p-cpe:/a:amazon:linux:libreoffice-help-pl, p-cpe:/a:amazon:linux:libreoffice-help-pt-br, p-cpe:/a:amazon:linux:libreoffice-help-pt-pt, p-cpe:/a:amazon:linux:libreoffice-help-ro, p-cpe:/a:amazon:linux:libreoffice-help-ru, p-cpe:/a:amazon:linux:libreoffice-help-si, p-cpe:/a:amazon:linux:libreoffice-help-sk, p-cpe:/a:amazon:linux:libreoffice-help-sl, p-cpe:/a:amazon:linux:libreoffice-help-sv, p-cpe:/a:amazon:linux:libreoffice-help-ta, p-cpe:/a:amazon:linux:libreoffice-help-tr, p-cpe:/a:amazon:linux:libreoffice-help-uk, p-cpe:/a:amazon:linux:libreoffice-help-zh-hans, p-cpe:/a:amazon:linux:libreoffice-help-zh-hant, p-cpe:/a:amazon:linux:libreoffice-impress, p-cpe:/a:amazon:linux:libreoffice-langpack-af, p-cpe:/a:amazon:linux:libreoffice-langpack-ar, p-cpe:/a:amazon:linux:libreoffice-langpack-as, p-cpe:/a:amazon:linux:libreoffice-langpack-bg, p-cpe:/a:amazon:linux:libreoffice-langpack-bn, p-cpe:/a:amazon:linux:libreoffice-langpack-br, p-cpe:/a:amazon:linux:libreoffice-langpack-ca, p-cpe:/a:amazon:linux:libreoffice-langpack-cs, p-cpe:/a:amazon:linux:libreoffice-langpack-cy, p-cpe:/a:amazon:linux:libreoffice-langpack-da, p-cpe:/a:amazon:linux:libreoffice-langpack-de, p-cpe:/a:amazon:linux:libreoffice-langpack-dz, p-cpe:/a:amazon:linux:libreoffice-langpack-el, p-cpe:/a:amazon:linux:libreoffice-langpack-en, p-cpe:/a:amazon:linux:libreoffice-langpack-es, p-cpe:/a:amazon:linux:libreoffice-langpack-et, p-cpe:/a:amazon:linux:libreoffice-langpack-eu, p-cpe:/a:amazon:linux:libreoffice-langpack-fa, p-cpe:/a:amazon:linux:libreoffice-langpack-fr, p-cpe:/a:amazon:linux:libreoffice-langpack-ga, p-cpe:/a:amazon:linux:libreoffice-langpack-gl, p-cpe:/a:amazon:linux:libreoffice-langpack-gu, p-cpe:/a:amazon:linux:libreoffice-langpack-hi, p-cpe:/a:amazon:linux:libreoffice-langpack-hr, p-cpe:/a:amazon:linux:libreoffice-langpack-hu, p-cpe:/a:amazon:linux:libreoffice-langpack-id, p-cpe:/a:amazon:linux:libreoffice-langpack-it, p-cpe:/a:amazon:linux:libreoffice-langpack-ja, p-cpe:/a:amazon:linux:libreoffice-langpack-kk, p-cpe:/a:amazon:linux:libreoffice-langpack-kn, p-cpe:/a:amazon:linux:libreoffice-langpack-ko, p-cpe:/a:amazon:linux:libreoffice-langpack-lt, p-cpe:/a:amazon:linux:libreoffice-langpack-lv, p-cpe:/a:amazon:linux:libreoffice-langpack-mai, p-cpe:/a:amazon:linux:libreoffice-langpack-ml, p-cpe:/a:amazon:linux:libreoffice-langpack-mr, p-cpe:/a:amazon:linux:libreoffice-langpack-nb, p-cpe:/a:amazon:linux:libreoffice-langpack-nl, p-cpe:/a:amazon:linux:libreoffice-langpack-nn, p-cpe:/a:amazon:linux:libreoffice-langpack-nr, p-cpe:/a:amazon:linux:libreoffice-langpack-nso, p-cpe:/a:amazon:linux:libreoffice-langpack-or, p-cpe:/a:amazon:linux:libreoffice-langpack-pa, p-cpe:/a:amazon:linux:libreoffice-langpack-pl, p-cpe:/a:amazon:linux:libreoffice-langpack-pt-br, p-cpe:/a:amazon:linux:libreoffice-langpack-pt-pt, p-cpe:/a:amazon:linux:libreoffice-langpack-ro, p-cpe:/a:amazon:linux:libreoffice-langpack-ru, p-cpe:/a:amazon:linux:libreoffice-langpack-si, p-cpe:/a:amazon:linux:libreoffice-langpack-sk, p-cpe:/a:amazon:linux:libreoffice-langpack-sl, p-cpe:/a:amazon:linux:libreoffice-langpack-sr, p-cpe:/a:amazon:linux:libreoffice-langpack-ss, p-cpe:/a:amazon:linux:libreoffice-langpack-st, p-cpe:/a:amazon:linux:libreoffice-langpack-sv, p-cpe:/a:amazon:linux:libreoffice-langpack-ta, p-cpe:/a:amazon:linux:libreoffice-langpack-te, p-cpe:/a:amazon:linux:libreoffice-langpack-th, p-cpe:/a:amazon:linux:libreoffice-langpack-tn, p-cpe:/a:amazon:linux:libreoffice-langpack-tr, p-cpe:/a:amazon:linux:libreoffice-langpack-ts, p-cpe:/a:amazon:linux:libreoffice-langpack-uk, p-cpe:/a:amazon:linux:libreoffice-langpack-ve, p-cpe:/a:amazon:linux:libreoffice-langpack-xh, p-cpe:/a:amazon:linux:libreoffice-langpack-zh-hans, p-cpe:/a:amazon:linux:libreoffice-langpack-zh-hant, p-cpe:/a:amazon:linux:libreoffice-langpack-zu, p-cpe:/a:amazon:linux:libreoffice-librelogo, p-cpe:/a:amazon:linux:libreoffice-math, p-cpe:/a:amazon:linux:libreoffice-nlpsolver, p-cpe:/a:amazon:linux:libreoffice-officebean-common, p-cpe:/a:amazon:linux:libreoffice-officebean, p-cpe:/a:amazon:linux:libreoffice-ogltrans, p-cpe:/a:amazon:linux:libreoffice-opensymbol-fonts, p-cpe:/a:amazon:linux:libreoffice-pdfimport, p-cpe:/a:amazon:linux:libreoffice-postgresql, p-cpe:/a:amazon:linux:libreoffice-pyuno, p-cpe:/a:amazon:linux:libreoffice-rhino, p-cpe:/a:amazon:linux:libreoffice-sdk-doc, p-cpe:/a:amazon:linux:libreoffice-sdk, p-cpe:/a:amazon:linux:libreoffice-ure-common, p-cpe:/a:amazon:linux:libreoffice-ure, p-cpe:/a:amazon:linux:libreoffice-wiki-publisher, p-cpe:/a:amazon:linux:libreoffice-writer, p-cpe:/a:amazon:linux:libreoffice-x11, p-cpe:/a:amazon:linux:libreoffice-xsltfilter, p-cpe:/a:amazon:linux:libreoffice, p-cpe:/a:amazon:linux:libreofficekit-devel, p-cpe:/a:amazon:linux:libreofficekit

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 9/14/2026

Vulnerability Publication Date: 5/7/2026

Reference Information

CVE: CVE-2026-6039, CVE-2026-6045, CVE-2026-8356, CVE-2026-8357, CVE-2026-8358

IAVB: 2026-B-0115