CVE Vulnerabilities

CVE-2026-8357

Off-by-one Error

Published: Jun 15, 2026 | Modified: Jul 28, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.8 IMPORTANT
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

Affected Software

NameVendorStart VersionEnd Version
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHatlibreoffice-1:5.3.6.1-28.el7_9*
Red Hat Enterprise Linux 8RedHatlibreoffice-1:6.4.7.2-21.el8_10*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatlibreoffice-1:6.4.7.2-18.el8_4.2*
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRedHatlibreoffice-1:6.4.7.2-18.el8_4.2*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatlibreoffice-1:6.4.7.2-18.el8_6.2*
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-OnRedHatlibreoffice-1:6.4.7.2-18.el8_6.2*
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRedHatlibreoffice-1:6.4.7.2-18.el8_8.2*
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRedHatlibreoffice-1:6.4.7.2-18.el8_8.2*
Red Hat Enterprise Linux 9RedHatlibreoffice-1:7.1.8.1-15.el9_8.2*
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRedHatlibreoffice-1:7.1.8.1-14.el9_2.2*
Red Hat Enterprise Linux 9.4 Update Services for SAP SolutionsRedHatlibreoffice-1:7.1.8.1-15.el9_4.2*
Red Hat Enterprise Linux 9.6 Extended Update SupportRedHatlibreoffice-1:7.1.8.1-15.el9_6.2*
LibreofficeUbuntujammy*
LibreofficeUbuntunoble*
LibreofficeUbuntuquesting*
LibreofficeUbunturesolute*
LibreofficeUbuntuupstream*

Potential Mitigations

References