# CVE-2026-59162: Excelize: Negative shared-string index causes panic in GetCellValue and GetRows

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-10T15:51:26.078Z
- Modified: 2026-11-23T20:30:10.668Z
- Also known as: GHSA-fx5j-qcqg-grpf, GO-2026-6452
- Weaknesses: CWE-248, CWE-755
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- qax-os excelize: < 2.11.0
- github.com/xuri/excelize/v2 (Go): before 2.11.0; before 2.11.1-0.20260728235842-f98df08a8f6a
- github.com/xuri/excelize (Go): up to 1.4.0
- excelize excelize: before 2.11.0

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/qax-os/excelize/security/advisories/GHSA-fx5j-qcqg-grpf> (exploit, advisory, vendor-advisory, web)
- <https://github.com/qax-os/excelize/pull/2331> (fix, issue-tracking, patch, web)
- <https://github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453> (fix, patch, web)
- <https://github.com/qax-os/excelize/releases/tag/v2.11.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59162> (advisory)
- <https://github.com/qax-os/excelize> (package)
- <https://github.com/qax-os/excelize/commit/f98df08a8f6aed8bc3b193115d1abb5b1ea2e433> (fix)

## Sources

- CVE List: [CVE-2026-59162](https://www.cve.org/CVERecord?id=CVE-2026-59162), CVE Terms of Use, modified 2026-07-10
- GitHub Advisory Database: [GHSA-fx5j-qcqg-grpf](https://github.com/advisories/GHSA-fx5j-qcqg-grpf), CC-BY-4.0, modified 2026-09-17
- Go Vulnerability Database: [GO-2026-6452](https://pkg.go.dev/vuln/GO-2026-6452), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-59162](https://nvd.nist.gov/vuln/detail/CVE-2026-59162), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-59162 · Whole record: https://cve.day/CVE-2026-59162.json · Rebuilt by cve.day 2026-11-25T22:59:27.656Z
