{"id":"CVE-2026-59161","summary":"Excelize: Streaming GetRows row-bound bypass causes attacker-controlled allocation","details":"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.","aliases":["GHSA-q5j5-6p94-4gwc"],"modified":"2026-07-18T03:47:41.188623794Z","published":"2026-07-10T15:47:38.604Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-400","CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59161.json"},"references":[{"type":"WEB","url":"https://github.com/qax-os/excelize/releases/tag/v2.11.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59161.json"},{"type":"ADVISORY","url":"https://github.com/qax-os/excelize/security/advisories/GHSA-q5j5-6p94-4gwc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59161"},{"type":"FIX","url":"https://github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453"},{"type":"FIX","url":"https://github.com/qax-os/excelize/pull/2331"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/qax-os/excelize","events":[{"introduced":"0"},{"fixed":"90ff348959dd842cbf3a4fbd93a78afbe18db476"},{"fixed":"93f0b3caed37f21ef5079e3259c6c21dcfe68453"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.11.0"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:excelize:excelize:*:*:*:*:*:go:*:*"}}],"versions":["v2.10.1","v2.10.0","v2.9.1","v2.9.0","v2.8.1","v2.8.0","v2.7.1","v2.7.0","v2.6.1","v2.6.0","v2.5.0","v2.4.1","v2.4.0","v2.3.2","v2.3.1","v2.3.0","v2.2.0","v2.1.0","v2.0.2","v2.0.1","v2.0.0","v1.4.1","v1.4.0","v1.3.0","v1.2.0","v1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59161.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}