Advisory

GO-2026-6453

Also known as: CVE-2026-59161, GHSA-q5j5-6p94-4gwc

Summary

Unbounded memory allocation via streaming row reader in github.com/xuri/excelize

Details

In github.com/xuri/excelize/v2, the streaming worksheet reader used by Rows and GetRows does not enforce the maximum row limit (TotalRows) on row "r" attributes. A crafted spreadsheet with an out-of-bounds row index causes GetRows to allocate empty row slices up to the specified row number, leading to excessive memory consumption and denial of service.

Severity

Not rated by the source.

Dates

Published
2026-09-16 18:00 UTC
Modified
2026-09-17 17: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