CVE-2026-59162

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

State
Published
Severity
6.9 Medium
Published
Jul 10, 2026
Updated
Jul 10, 2026
Reserved
Jul 2, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-248 Uncaught Exception
  • CWE-755 Improper Handling of Exceptional Conditions

Affected Products

ProductVersions
excelizeqax-os
  • < 2.11.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.