Incorrect Calculation of Buffer Size Affecting libreoffice package, versions [,26.2.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-LIBREOFFICE-17391916
  • published21 Jun 2026
  • disclosed15 Jun 2026
  • creditArthur Chan of Ada Logics

Introduced: 15 Jun 2026

CVE-2026-8357  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade libreoffice to version 26.2.4 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Calculation of Buffer Size in the formula compilation process. An attacker can execute unauthorized code or cause the application to crash by convincing a user to open a specially crafted spreadsheet containing excessively long formulas.

Workaround

This vulnerability can be mitigated by exercising caution when opening untrusted or suspicious spreadsheet documents.

CVSS Base Scores

version 4.0
version 3.1