high7.5
CVE-2026-59161
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets.
Impact
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. Prior to 2.11.0, the streaming worksheet reader used by Rows and GetRows does not enforce the TotalRows limit on the row r attribute, allowing a small XLSX file with a row number above 1048576 and no cell coordinate to make GetRows append empty rows up to the attacker-controlled index and consume excessive memory and CPU. This issue is fixed in version 2.11.0.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/xuri/excelize/v2 | < 2.11.0 | 2.11.0 |
| go | github.com/xuri/excelize | <= 1.4.0 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Excelize | Excelize | before 2.11.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-q5j5-6p94-4gwc
- https://github.com/qax-os/excelize/security/advisories/GHSA-q5j5-6p94-4gwc
- https://nvd.nist.gov/vuln/detail/CVE-2026-59161
- https://github.com/qax-os/excelize/pull/2331
- https://github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453
- https://github.com/qax-os/excelize/releases/tag/v2.11.0