Vulnerability · Published Jul 10, 2026 · Assigned by GitHub_M
CVE-2026-59161Excelize: Streaming GetRows row-bound bypass causes attacker-controlled allocation
High 8.7
In plain English
A high-severity uncontrolled resource consumption in excelize from qax-os. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/xuri/excelize | no fix listed | GHSA-q5j5-6p94-4gwc |
| Go | github.com/xuri/excelize/v2 | 2.11.0 | GHSA-q5j5-6p94-4gwc |
| Go | github.com/xuri/excelize/v2 | 2.11.0 | GO-2026-6453 |
Affected products (as reported)
Weakness: CWE-400, CWE-770 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/qax-os/excelize/security/advisories/GHSA-q5j5-6p94-4gwc x_refsource_CONFIRM
- https://github.com/qax-os/excelize/pull/2331 x_refsource_MISC
- https://github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453 x_refsource_MISC
- https://github.com/qax-os/excelize/releases/tag/v2.11.0 x_refsource_MISC