Heap buffer overflow in Calc formula compilation
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · High
- Fix status
- Partial Red Hat: 15 fixed, 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| The Document Foundation | LibreOffice | 26.2 to before < 26.2.4 | < 26.2.4 | Patch available | CNA |
- LibreOffice VendorThe Document Foundation Affected 26.2 to before < 26.2.4 Fixed in < 26.2.4 Patch available CNA
Remediation
- Fix · CNA LibreOffice (The Document Foundation) Fixed in < 26.2.4
Red Hat 9 advisories
- RHSA-2026:46387 Released 2026-07-27 · Red Hat rating Importantlibreoffice security update
- Red Hat Enterprise Linux AppStream AUS (v.8.4) autocorr-af-1:6.4.7.2-18.el8_4.2, autocorr-bg-1:6.4.7.2-18.el8_4.2, autocorr-ca-1:6.4.7.2-18.el8_4.2 +47
- Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) autocorr-af-1:6.4.7.2-18.el8_4.2, autocorr-bg-1:6.4.7.2-18.el8_4.2, autocorr-ca-1:6.4.7.2-18.el8_4.2 +47
- RHSA-2026:46386 Released 2026-07-27 · Red Hat rating Importantlibreoffice security update
- Red Hat Enterprise Linux Server Optional (v. 7 ELS) autocorr-af-1:5.3.6.1-28.el7_9, autocorr-bg-1:5.3.6.1-28.el7_9, autocorr-ca-1:5.3.6.1-28.el7_9 +47
- RHSA-2026:43425 Released 2026-07-22 · Red Hat rating Importantlibreoffice security update
- Red Hat CodeReady Linux Builder EUS (v.9.6) libreoffice-sdk-1:7.1.8.1-15.el9_6.2, libreoffice-sdk-doc-1:7.1.8.1-15.el9_6.2
- Red Hat Enterprise Linux AppStream EUS (v.9.6) autocorr-af-1:7.1.8.1-15.el9_6.2, autocorr-bg-1:7.1.8.1-15.el9_6.2, autocorr-ca-1:7.1.8.1-15.el9_6.2 +47
Show 6 more Red Hat advisories
- RHSA-2026:43460 Released 2026-07-22 · Red Hat rating Importantlibreoffice security update
- Red Hat Enterprise Linux AppStream E4S (v.8.8) autocorr-af-1:6.4.7.2-18.el8_8.2, autocorr-bg-1:6.4.7.2-18.el8_8.2, autocorr-ca-1:6.4.7.2-18.el8_8.2 +47
- Red Hat Enterprise Linux AppStream TUS (v.8.8) autocorr-af-1:6.4.7.2-18.el8_8.2, autocorr-bg-1:6.4.7.2-18.el8_8.2, autocorr-ca-1:6.4.7.2-18.el8_8.2 +47
- RHSA-2026:43424 Released 2026-07-22 · Red Hat rating Importantlibreoffice security update
- Red Hat Enterprise Linux AppStream E4S (v.9.4) autocorr-af-1:7.1.8.1-15.el9_4.2, autocorr-bg-1:7.1.8.1-15.el9_4.2, autocorr-ca-1:7.1.8.1-15.el9_4.2 +47
- RHSA-2026:43461 Released 2026-07-22 · Red Hat rating Importantlibreoffice security update
- Red Hat Enterprise Linux AppStream AUS (v.8.6) autocorr-af-1:6.4.7.2-18.el8_6.2, autocorr-bg-1:6.4.7.2-18.el8_6.2, autocorr-ca-1:6.4.7.2-18.el8_6.2 +47
- Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) autocorr-af-1:6.4.7.2-18.el8_6.2, autocorr-bg-1:6.4.7.2-18.el8_6.2, autocorr-ca-1:6.4.7.2-18.el8_6.2 +47
- RHSA-2026:43423 Released 2026-07-22 · Red Hat rating Importantlibreoffice security update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) autocorr-af-1:7.1.8.1-14.el9_2.2, autocorr-bg-1:7.1.8.1-14.el9_2.2, autocorr-ca-1:7.1.8.1-14.el9_2.2 +47
- RHSA-2026:36832 Released 2026-07-08 · Red Hat rating Importantlibreoffice security update
- Red Hat Enterprise Linux AppStream (v. 9) autocorr-af-1:7.1.8.1-15.el9_8.2, autocorr-bg-1:7.1.8.1-15.el9_8.2, autocorr-ca-1:7.1.8.1-15.el9_8.2 +47
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) libreoffice-sdk-1:7.1.8.1-15.el9_8.2, libreoffice-sdk-doc-1:7.1.8.1-15.el9_8.2
- RHSA-2026:35839 Released 2026-07-06 · Red Hat rating Importantlibreoffice security update
- Red Hat Enterprise Linux AppStream (v. 8) autocorr-af-1:6.4.7.2-21.el8_10, autocorr-bg-1:6.4.7.2-21.el8_10, autocorr-ca-1:6.4.7.2-21.el8_10 +47
- Red Hat Enterprise Linux CRB (v. 8) libreoffice-sdk-1:6.4.7.2-21.el8_10, libreoffice-sdk-doc-1:6.4.7.2-21.el8_10
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
The Document Foundation LibreOffice < 26.2.4
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-07350 Stack buffer overflow in PPT presentation importPriority LOW 23
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat CodeReady Linux Builder EUS (v.9.6) | Fixed | RHSA-2026:43425 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:35839 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:36832 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2026:46387 |
| Red Hat Enterprise Linux AppStream AUS (v.8.6) | Fixed | RHSA-2026:43461 |
| Red Hat Enterprise Linux AppStream E4S (v.8.8) | Fixed | RHSA-2026:43460 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2026:43423 |
| Red Hat Enterprise Linux AppStream E4S (v.9.4) | Fixed | RHSA-2026:43424 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2026:43425 |
| Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) | Fixed | RHSA-2026:46387 |
| Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) | Fixed | RHSA-2026:43461 |
| Red Hat Enterprise Linux AppStream TUS (v.8.8) | Fixed | RHSA-2026:43460 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2026:35839 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2026:36832 |
| Red Hat Enterprise Linux Server Optional (v. 7 ELS) | Fixed | RHSA-2026:46386 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-8357
- 2026-10-03 Alias added: GHSA-j779-pcc6-8c5f
More The Document Foundation vulnerabilities
- TI-2019-07233 LibreLogo global-event script execution CVSS 3.1CRITICAL 9.8
- TI-2018-12068 Path traversal in [UNKNOWN] libreoffice CVSS 3.0CRITICAL 9.8
- TI-2018-07474 An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache… CVSS 3.0HIGH 7.5
- TI-2019-07230 Code injection in Document Foundation LibreOffice CVSS 3.1CRITICAL 9.8
- TI-2018-05018 LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary… CVSS 3.0CRITICAL 9.8
- TI-2023-01118 Arbitrary file write in libreoffice CVSS 3.1MEDIUM 5.5
Sources
- CVE-2026-8357 · CVE Program
- CVE-2026-8357 · NVD
- FIRST EPSS
- GHSA-j779-pcc6-8c5f · GitHub Advisory Database · CC BY 4.0
- CVE-2026-8357 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences