Skip to main content
Mallory
MediumVulnerability

CVE-2026-8357: Heap Buffer Overflow in LibreOffice Calc Formula Compilation

Published Jun 15, 2026 · Updated 5 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.4Medium · v4
EPSS0.23%8th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2026-8357CWE-193 · Off-by-one Error

CVE-2026-8357 is an off-by-one heap buffer overflow in LibreOffice Calc's formula compilation. Calc compiles cell formulas when opening a spreadsheet. A very long formula containing many opening tokens can exhaust a nesting-depth tracking array that is allocated one element too small for the worst case, causing a one-element out-of-bounds write. The vulnerability affects the LibreOffice 26.2 release series before 26.2.4 and can cause application crashes or potentially arbitrary code execution.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A crafted spreadsheet can corrupt heap memory during formula compilation, causing denial of service through an application crash and potentially arbitrary code execution. Successful code execution could compromise data accessible to the affected LibreOffice process and modify data with that process's privileges.

Mitigation

If you can’t patch tonight, do this now.

Until patched, avoid opening untrusted or potentially malformed spreadsheets in LibreOffice Calc. No vulnerability-specific workaround is documented.

Remediation

Patch, then assume compromise.

Upgrade LibreOffice 26.2 installations to version 26.2.4 or later. The fix sizes the nesting-depth tracking array to accommodate the largest possible nesting depth. For distribution-managed installations, apply the vendor's security packages rather than relying solely on upstream version comparisons. Debian trixie provides the fix in libreoffice version 4:25.2.3-2+deb13u5 or later; affected Rocky Linux 8 installations should apply the updates specified in CIQ advisory crlsa-2026_35839.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-8357 exploited in the wild?
As of Nov 23, 2026, Mallory has no reports of CVE-2026-8357 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-8357?
As of Nov 23, 2026, Mallory has found no public exploit for CVE-2026-8357.
Is there a patch for CVE-2026-8357?
Upgrade LibreOffice 26.2 installations to version 26.2.4 or later. The fix sizes the nesting-depth tracking array to accommodate the largest possible nesting depth.
How severe is CVE-2026-8357?
CVE-2026-8357 has a CVSS v4 score of 5.4 (Medium) and an EPSS score of 0.23% (8th percentile) as of Nov 23, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.