CVE-2026-8357
5.4
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:P
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| The Document Foundation | LibreOffice | 26.2 < < 26.2.4 | affected |
Weaknesses
- CWE-787: CWE-787 Out-of-bounds Write
- CWE-193: CWE-193 Off-by-one Error
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
libreoffice: LibreOffice Calc: Arbitrary code execution via heap buffer overflow in formula compilation
Additional References
- 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
References
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.