high7.5
CVE-2026-59162
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets.
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/xuri/excelize/v2 | < 2.11.0 | 2.11.0 |
| go | github.com/xuri/excelize | <= 1.4.0 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Excelize | Excelize | before 2.11.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-fx5j-qcqg-grpf
- https://github.com/qax-os/excelize/security/advisories/GHSA-fx5j-qcqg-grpf
- https://nvd.nist.gov/vuln/detail/CVE-2026-59162
- https://github.com/qax-os/excelize/pull/2331
- https://github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453
- https://github.com/qax-os/excelize/releases/tag/v2.11.0