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

Affected products

Weakness classification (CWE)

References