GO-2026-6452

Source
https://pkg.go.dev/vuln/GO-2026-6452
Import Source
https://vuln.go.dev/ID/GO-2026-6452.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-6452
Aliases
Published
2026-09-16T18:00:43Z
Modified
2026-09-17T17:30:12Z
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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-6452"
}
References

Affected packages

Go / github.com/xuri/excelize/v2

Package

Name
github.com/xuri/excelize/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/xuri/excelize/v2

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/xuri/excelize/v2",
            "symbols": [
                "Cols.Rows",
                "File.AddPicture",
                "File.AddPictureFromBytes",
                "File.AddPivotTable",
                "File.AddSlicer",
                "File.AddTable",
                "File.CalcCellValue",
                "File.DuplicateRow",
                "File.DuplicateRowTo",
                "File.GetCellFormula",
                "File.GetCellType",
                "File.GetCellValue",
                "File.GetCols",
                "File.GetMergeCells",
                "File.GetPictureCells",
                "File.GetPictures",
                "File.GetRows",
                "File.InsertCols",
                "File.InsertRows",
                "File.RemoveCol",
                "File.RemoveRow",
                "File.SearchSheet",
                "Rows.Columns",
                "StreamWriter.AddTable",
                "formulaFuncs.ANCHORARRAY",
                "formulaFuncs.FORMULATEXT",
                "formulaFuncs.INDIRECT",
                "formulaFuncs.ISFORMULA",
                "xlsxC.getValueFrom"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-6452.json"