Advisory

GO-2026-6452

Also known as: CVE-2026-59162, GHSA-fx5j-qcqg-grpf

Summary

Panic via negative shared-string index in github.com/xuri/excelize

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-09-16 18:00 UTC
Modified
2026-09-24 20:30 UTC

Affected packages and fixes

github.com/xuri/excelize/v2

Go · All systems

Affected

  • introduced 0, fixed 2.11.0 (semver)

Fixed versions

2.11.0

Fix

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

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences