CVE-2026-8357
Heap buffer overflow in Calc formula compilation
- State
- Published
- Severity
- 5.4 Medium
- Published
- Jun 15, 2026
- Updated
- Jul 28, 2026
- Reserved
- May 11, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.4 Medium | 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 | Document Fdn. |
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
LibreOfficeThe Document Foundation |
|
References
- https://www.libreoffice.org/about-us/security/advisories/cve-2026-8357
- https://access.redhat.com/security/cve/CVE-2026-8357vdb-entry
- RHBZ#2488964issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8357.json
- https://access.redhat.com/errata/RHSA-2026:46386vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:35839vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:46387vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:43461vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:43460vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:43423vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:43424vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:43425vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:36832vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.