# CVE-2026-8357: Heap buffer overflow in Calc formula compilation

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-15 · Modified: 2026-07-28
- Aliases: RHSA-2026:35839, RHSA-2026:36832, RHSA-2026:43423, RHSA-2026:43424, RHSA-2026:43425, RHSA-2026:43460, RHSA-2026:43461, RHSA-2026:46387, UBUNTU-CVE-2026-8357, DEBIAN-CVE-2026-8357
- Record: https://cvemate.com/vulnerability/CVE-2026-8357 · JSON: https://cvemate.com/vulnerability/CVE-2026-8357/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.219%, percentile 13.184%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 201)

- debian libreoffice (Debian): \< 4:7.4.7-1+deb12u13 \| \< 4:25.2.3-2+deb13u5 \| \< 4:26.2.4.2-1
- ubuntu libreoffice (Ubuntu): All versions (No fix recorded) \| \< 1:7.3.7-0ubuntu0.22.04.12 \| \< 4:24.2.7-0ubuntu0.24.04.6 \| \< 4:26.2.4.2-0ubuntu0.26.04.2
- redhat autocorr-af (Red Hat): \< 1:6.4.7.2-21.el8\_10 \| \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2 \| \< 1:6.4.7.2-18.el8\_8.2 \| \< 1:6.4.7.2-18.el8\_6.2 \| \< 1:6.4.7.2-18.el8\_4.2
- redhat autocorr-bg (Red Hat): \< 1:6.4.7.2-21.el8\_10 \| \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2 \| \< 1:6.4.7.2-18.el8\_8.2 \| \< 1:6.4.7.2-18.el8\_6.2 \| \< 1:6.4.7.2-18.el8\_4.2
- redhat autocorr-ca (Red Hat): \< 1:6.4.7.2-21.el8\_10 \| \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2 \| \< 1:6.4.7.2-18.el8\_8.2 \| \< 1:6.4.7.2-18.el8\_6.2 \| \< 1:6.4.7.2-18.el8\_4.2
- redhat autocorr-cs (Red Hat): \< 1:6.4.7.2-21.el8\_10 \| \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2 \| \< 1:6.4.7.2-18.el8\_8.2 \| \< 1:6.4.7.2-18.el8\_6.2 \| \< 1:6.4.7.2-18.el8\_4.2
- redhat autocorr-da (Red Hat): \< 1:6.4.7.2-21.el8\_10 \| \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2 \| \< 1:6.4.7.2-18.el8\_8.2 \| \< 1:6.4.7.2-18.el8\_6.2 \| \< 1:6.4.7.2-18.el8\_4.2
- redhat autocorr-de (Red Hat): \< 1:6.4.7.2-21.el8\_10 \| \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2 \| \< 1:6.4.7.2-18.el8\_8.2 \| \< 1:6.4.7.2-18.el8\_6.2 \| \< 1:6.4.7.2-18.el8\_4.2
- redhat autocorr-dsb (Red Hat): \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2
- redhat autocorr-el (Red Hat): \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2
- redhat autocorr-en (Red Hat): \< 1:6.4.7.2-21.el8\_10 \| \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2 \| \< 1:6.4.7.2-18.el8\_8.2 \| \< 1:6.4.7.2-18.el8\_6.2 \| \< 1:6.4.7.2-18.el8\_4.2
- redhat autocorr-es (Red Hat): \< 1:6.4.7.2-21.el8\_10 \| \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2 \| \< 1:6.4.7.2-18.el8\_8.2 \| \< 1:6.4.7.2-18.el8\_6.2 \| \< 1:6.4.7.2-18.el8\_4.2
- redhat autocorr-fa (Red Hat): \< 1:6.4.7.2-21.el8\_10 \| \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2 \| \< 1:6.4.7.2-18.el8\_8.2 \| \< 1:6.4.7.2-18.el8\_6.2 \| \< 1:6.4.7.2-18.el8\_4.2
- redhat autocorr-fi (Red Hat): \< 1:6.4.7.2-21.el8\_10 \| \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2 \| \< 1:6.4.7.2-18.el8\_8.2 \| \< 1:6.4.7.2-18.el8\_6.2 \| \< 1:6.4.7.2-18.el8\_4.2
- redhat autocorr-fr (Red Hat): \< 1:6.4.7.2-21.el8\_10 \| \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2 \| \< 1:6.4.7.2-18.el8\_8.2 \| \< 1:6.4.7.2-18.el8\_6.2 \| \< 1:6.4.7.2-18.el8\_4.2
- redhat autocorr-ga (Red Hat): \< 1:6.4.7.2-21.el8\_10 \| \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2 \| \< 1:6.4.7.2-18.el8\_8.2 \| \< 1:6.4.7.2-18.el8\_6.2 \| \< 1:6.4.7.2-18.el8\_4.2
- redhat autocorr-hr (Red Hat): \< 1:6.4.7.2-21.el8\_10 \| \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2 \| \< 1:6.4.7.2-18.el8\_8.2 \| \< 1:6.4.7.2-18.el8\_6.2 \| \< 1:6.4.7.2-18.el8\_4.2
- redhat autocorr-hsb (Red Hat): \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2
- redhat autocorr-hu (Red Hat): \< 1:6.4.7.2-21.el8\_10 \| \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2 \| \< 1:6.4.7.2-18.el8\_8.2 \| \< 1:6.4.7.2-18.el8\_6.2 \| \< 1:6.4.7.2-18.el8\_4.2
- redhat autocorr-is (Red Hat): \< 1:6.4.7.2-21.el8\_10 \| \< 1:7.1.8.1-15.el9\_8.2 \| \< 1:7.1.8.1-14.el9\_2.2 \| \< 1:7.1.8.1-15.el9\_4.2 \| \< 1:7.1.8.1-15.el9\_6.2 \| \< 1:6.4.7.2-18.el8\_8.2 \| \< 1:6.4.7.2-18.el8\_6.2 \| \< 1:6.4.7.2-18.el8\_4.2

## References (first 20 of 27)

- <https://www.libreoffice.org/about-us/security/advisories/cve-2026-8357>
- <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>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_35839.json>
- <https://www.cve.org/CVERecord?id=CVE-2026-8357>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-8357>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_36832.json>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_43423.json>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_43424.json>

---

Data as of 2026-12-05T08:50:07.207Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
