{"id":"CVE-2026-59161","published":"2026-07-10T15:47:38Z","modified":"2026-07-14T01:55:21Z","title":"Excelize: Streaming GetRows row-bound bypass causes attacker-controlled allocation","vendor":"qax-os","product":"excelize","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00655,"percentile":0.52309,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/qax-os/excelize/security/advisories/GHSA-q5j5-6p94-4gwc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/qax-os/excelize/pull/2331","tags":["x_refsource_MISC"]},{"url":"https://github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453","tags":["x_refsource_MISC"]},{"url":"https://github.com/qax-os/excelize/releases/tag/v2.11.0","tags":["x_refsource_MISC"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":10.46},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"qax-os","affectedVersions":[{"vendor":"qax-os","product":"excelize","versions":["< 2.11.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-14T01:54:56.568240Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/xuri/excelize/v2","vulnerableRanges":["<2.11.0"],"patched":["2.11.0"],"from":["GHSA-q5j5-6p94-4gwc","GO-2026-6453"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/xuri/excelize","vulnerableRanges":["<=1.4.0"],"patched":[],"from":["GHSA-q5j5-6p94-4gwc"],"provenance":"source"}],"summary":{"text":"Excelize, a Go library for reading and writing Excel spreadsheets, has a flaw in its streaming worksheet reader used by Rows and GetRows, where the TotalRows limit is not enforced on the row r attribute. An attacker can supply a small XLSX file with a row number above 1048576 and no cell coordinate, causing GetRows to append empty rows up to that attacker-chosen index and consume excessive memory and CPU; the attack requires only that the crafted file be processed by the library, with no authentication, network position, or user interaction beyond that.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:57:37Z"},"euvd":{"id":"EUVD-2026-42936","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-qax-os-excelize-cve-2026-59161","children":[{"from":"CVE-2026-59161","to":"CVE-2026-107219","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["errors.go"],"commits":["https://github.com/qax-os/excelize/commit/2badfcd5841d0d88b0ffea119f5a2f3c53b4910b","https://github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453"],"basis":"rarely changed file"}]},{"from":"CVE-2026-59161","to":"CVE-2026-107220","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cell.go"],"commits":["https://github.com/qax-os/excelize/commit/99903a3240e58a47ff28fb8e05a03bd9d496ec24","https://github.com/qax-os/excelize/commit/93f0b3caed37f21ef5079e3259c6c21dcfe68453"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-54063","published":"2026-07-10","fixed":"2.11.0","kev":false},{"cve":"CVE-2026-59161","published":"2026-07-10","fixed":"2.11.0","kev":false},{"cve":"CVE-2026-59162","published":"2026-07-10","fixed":"2.11.0","kev":false},{"cve":"CVE-2026-107225","published":"2026-10-07","fixed":"2.11.1-0.20260731010303-ae2113b410e5","kev":false},{"cve":"CVE-2026-107224","published":"2026-10-07","fixed":"2.11.1-0.20260805032953-db93f8d89de7","kev":false},{"cve":"CVE-2026-107223","published":"2026-10-07","fixed":"2.11.1-0.20260807015645-a54c578af309","kev":false,"link":{"from":"CVE-2026-59161","to":"CVE-2026-107223","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/xuri/excelize/v2","fromFixed":"2.11.0","toFixed":"2.11.1","daysApart":89}]}}],"package":"Go:github.com/xuri/excelize/v2"}}