Heap buffer overflow in Calc formula compilation
cve-program · CVE-2026-8357
PublishedLibreOffice 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-8357 · CVE overview and exploitation status
cve-program · CVE-2026-8357
Related changes
Linked by CVE identifierNo related changes are available here.