CVE-2026-59162
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.
- CVSS 4.0
- 6.9
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 - CVSS 3.1
- 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS
- 0.7% chance of exploitation in the next 30 days; higher than 51% of CVEs (scores of 2026-10-25)
- CWEs
- CWE-248, CWE-755
- Published
- Modified
- Record from
- the NVD, synced
Affected
- excelize:excelize
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-fx5j-qcqg-grpf | Go | github.com/xuri/excelize/v2 | <2.11.0 | 2.11.0 |
| GHSA-fx5j-qcqg-grpf | Go | github.com/xuri/excelize | <=1.4.0 | no fix published |
| GO-2026-6452 | Go | github.com/xuri/excelize/v2 | <2.11.0 | 2.11.0 |
References
- https://github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453
- https://github.com/qax-os/excelize/pull/2331
- https://github.com/qax-os/excelize/releases/tag/v2.11.0
- https://github.com/qax-os/excelize/security/advisories/GHSA-fx5j-qcqg-grpf
- https://github.com/qax-os/excelize/security/advisories/GHSA-fx5j-qcqg-grpf