ADVISORIES

Go Vulnerability Database

GO-2026-6453

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/xuri/excelize/v2
All versions before 2.11.0 (fixed in 2.11.0)

References