github.com/xuri/excelize/v2
Affected
- introduced
0, fixed2.11.0(semver)
Fixed versions
2.11.0
Fix
- Fixed version
2.11.0go get github.com/xuri/excelize/[email protected]
Advisory
Also known as: CVE-2026-59162, GHSA-fx5j-qcqg-grpf
Panic via negative shared-string index in github.com/xuri/excelize
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.
Not rated by the source.
0, fixed 2.11.0 (semver)2.11.0
2.11.0go get github.com/xuri/excelize/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0