{"id":"CVE-2026-59162","published":"2026-07-10T15:51:26Z","modified":"2026-07-10T18:40:25Z","title":"Excelize: Negative shared-string index causes panic in GetCellValue and GetRows","vendor":"qax-os","product":"excelize","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00655,"percentile":0.52309,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"},{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"}],"references":[{"url":"https://github.com/qax-os/excelize/security/advisories/GHSA-fx5j-qcqg-grpf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/qax-os/excelize/pull/2331","tags":["x_refsource_MISC"]},{"url":"https://github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453","tags":["x_refsource_MISC"]},{"url":"https://github.com/qax-os/excelize/releases/tag/v2.11.0","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":10.46},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"qax-os","affectedVersions":[{"vendor":"qax-os","product":"excelize","versions":["< 2.11.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-10T18:40:21.218933Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/xuri/excelize/v2","vulnerableRanges":["<2.11.0"],"patched":["2.11.0"],"from":["GHSA-fx5j-qcqg-grpf","GO-2026-6452"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/xuri/excelize","vulnerableRanges":["<=1.4.0"],"patched":[],"from":["GHSA-fx5j-qcqg-grpf"],"provenance":"source"}],"summary":{"text":"Excelize, a Go library for reading and writing Microsoft Excel spreadsheets, is affected by a flaw in its shared-string cell parsing, where a negative index is accepted and causes a panic when the cell is read through GetCellValue or GetRows. An attacker can trigger the crash by supplying a crafted XLSX file containing a shared-string cell with a -1 index, requiring only network reachability to the component that processes the file, with no authentication or user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:15Z"},"euvd":{"id":"EUVD-2026-42937","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-qax-os-excelize-cve-2026-59161","children":[{"from":"CVE-2026-59162","to":"CVE-2026-107219","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["errors.go"],"commits":["https://github.com/qax-os/excelize/commit/2badfcd5841d0d88b0ffea119f5a2f3c53b4910b","https://github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453"],"basis":"rarely changed file"}]},{"from":"CVE-2026-59162","to":"CVE-2026-107220","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cell.go"],"commits":["https://github.com/qax-os/excelize/commit/99903a3240e58a47ff28fb8e05a03bd9d496ec24","https://github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453"],"basis":"rarely changed file"}]}]}}