Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| The Document Foundation / LibreOffice | affected 26.2 before < 26.2.4 |
CWE
CWE-787, CWE-193
References
ADP enrichment
No English description supplied.
No references supplied.
A vulnerability has been identified in LibreOffice Calc. An application crash may occur if a user opens a malicious spreadsheet that contains excessively long formulas. Successful exploitation of this vulnerability could result in a denial of service or potentially lead to arbitrary code execution.
- https://access.redhat.com/security/cve/CVE-2026-8357
- https://bugzilla.redhat.com/show_bug.cgi?id=2488964
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8357.json
- https://access.redhat.com/errata/RHSA-2026:46386
- https://access.redhat.com/errata/RHSA-2026:35839
- https://access.redhat.com/errata/RHSA-2026:46387
- https://access.redhat.com/errata/RHSA-2026:43461
- https://access.redhat.com/errata/RHSA-2026:43460
- https://access.redhat.com/errata/RHSA-2026:43423
- https://access.redhat.com/errata/RHSA-2026:43424
- https://access.redhat.com/errata/RHSA-2026:43425
- https://access.redhat.com/errata/RHSA-2026:36832