Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-59162 EUVD-2026-42937GHSA-fx5j-qcqg-grpfGO-2026-6452

Excelize: Negative shared-string index causes panic in GetCellValue and GetRows

Published Jul 10, 2026 · Updated Jul 10, 2026 · Assigned by GitHub_M

Description

Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. Prior to 2.11.0, Excelize parses shared-string cell values with strconv.Atoi and checks only the upper bound before indexing the shared string slice, allowing an XLSX file containing a shared-string cell with -1 to trigger sharedStrings[-1] and panic when read through GetCellValue or GetRows. This issue is fixed in version 2.11.0.

Affected products

VendorProductAffectedFixed
qax-os excelize < 2.11.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260916T180043-160000.1.1 SUSE-SU-2026:23863-1, SUSE-SU-2026:23855-1
SLES 16.0 govulncheck-vulndb 0.0.20260916T180043-160000.1.1 SUSE-SU-2026:23863-1, SUSE-SU-2026:23855-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260916T180043-160000.1.1 openSUSE-SU-2026:21897-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/xuri/excelize <= 1.4.0 — GHSA-fx5j-qcqg-grpf
Go github.com/xuri/excelize/v2 < 2.11.0 2.11.0 GHSA-fx5j-qcqg-grpf

Advisories 3

References