Vulnerability · Published Jul 10, 2026 · Assigned by GitHub_M
CVE-2026-59162Excelize: Negative shared-string index causes panic in GetCellValue and GetRows
Medium 6.9
In plain English
A medium-severity security flaw in excelize from qax-os. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/xuri/excelize | no fix listed | GHSA-fx5j-qcqg-grpf |
| Go | github.com/xuri/excelize/v2 | 2.11.0 | GHSA-fx5j-qcqg-grpf |
| Go | github.com/xuri/excelize/v2 | 2.11.0 | GO-2026-6452 |
Affected products (as reported)
Weakness: CWE-248, CWE-755 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
References
- https://github.com/qax-os/excelize/security/advisories/GHSA-fx5j-qcqg-grpf x_refsource_CONFIRM
- https://github.com/qax-os/excelize/pull/2331 x_refsource_MISC
- https://github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453 x_refsource_MISC
- https://github.com/qax-os/excelize/releases/tag/v2.11.0 x_refsource_MISC