P4 · InfoEPSS 0.4%
Panic via negative shared-string index in github.com/xuri/excelize
- CVE-2026-59162
- GHSA-fx5j-qcqg-grpf
- GO-2026-6452
Description
In github.com/xuri/excelize/v2, parsing a spreadsheet cell with a negative shared-string index causes a runtime panic. The shared-string lookup in xlsxC.getValueFrom checks only the upper bound of the parsed index against the shared-string slice length, causing negative indices (such as -1) to bypass validation and trigger an out-of-bounds slice access when reading cells via APIs such as GetCellValue or GetRows.
Text from the OSV record.
Affected
github.com/xuri/excelize/v2Go
- all versions, fixed in 2.11.1-0.20260728235842-f98df08a8f6a
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.