Buffer overflow in The Document Foundation Libreoffice
CVE-2026-8357
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 12.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- The Document Foundation Libreoffice — versions 26.2
Weakness classification (CWE)
References
- www.libreoffice.org/about-us/security/advisories/cve-2026-8357
- access.redhat.com/security/cve/CVE-2026-8357
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8357.json
- access.redhat.com/errata/RHSA-2026:35839
- access.redhat.com/errata/RHSA-2026:36832
- access.redhat.com/errata/RHSA-2026:43424
- access.redhat.com/errata/RHSA-2026:43425
- access.redhat.com/errata/RHSA-2026:43460
- access.redhat.com/errata/RHSA-2026:43423