CVE-2026-59162 Excelize: Negative shared-string index causes panic in GetCellValue and GetRows
MediumCVSS 6.9
EPSS 0.66%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| excelize | < 2.11.0 | 2.11.0 | Fixed |
| xuri github.com/xuri/excelize/v2(Go) | < 2.11.0; <= 1.4.0 | 2.11.0 | Fixed |
| qax-os excelize | = < 2.11.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xuri github.com/xuri/excelize/v2(Go) | < 2.11.0 | 2.11.0 |
| xuri github.com/xuri/excelize/v2(Go) | <= 1.4.0 | No fix listed |
| qax-os excelize | = < 2.11.0 | No fix listed |
| excelize | < 2.11.0 | 2.11.0 |
References
- https://github.com/qax-os/excelize/security/advisories/GHSA-fx5j-qcqg-grpf exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/qax-os/excelize/pull/2331 issue-tracking patch
- https://github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453 patch
- github.com product
- https://github.com/qax-os/excelize/releases/tag/v2.11.0 release-notes
- github.com