Heap buffer overflow in Calc formula compilation
Summary
| CVE | CVE-2026-8357 |
|---|---|
| State | PUBLISHED |
| Assigner | Document Fdn. |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-15 18:16:37 UTC |
| Updated | 2026-06-15 20:55:48 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 5.4 MEDIUM from [email protected]
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.001190000 probability, percentile 0.020850000 (date 2026-06-22)
Problem Types: CWE-193 | CWE-787 | CWE-787 CWE-787 Out-of-bounds Write | CWE-193 CWE-193 Off-by-one Error
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 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/C... |
| 4.0 | CNA | CVSS | 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 |
CVSS v4.0 Breakdown
Attack Vector
LocalAttack Complexity
LowAttack Requirements
NonePrivileges Required
NoneUser Interaction
PassiveConfidentiality
LowIntegrity
LowAvailability
HighSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | The Document Foundation | LibreOffice | affected 26.2 < 26.2.4 26.2 series | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.libreoffice.org/about-us/security/advisories/cve-2026-8357 | [email protected] | www.libreoffice.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Anthropic (automated discovery using Claude) (en)
CNA: Arthur Chan of Ada Logics (validation and reporting) (en)
There are currently no legacy QID mappings associated with this CVE.