{"answers":{"affected":"5 open source packages ship an affected version, including github.com/xuri/excelize/v2 and github.com/xuri/excelize. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59161 exists.","fix":"Upgrade github.com/xuri/excelize/v2 to 2.11.0 or later.","what":"CVE-2026-59161 is a high-severity denial of service vulnerability in qax-os excelize, published on 10 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-59161 and fix it if it is affected.\n\nWhat it is: CVE-2026-59161 is a high-severity denial of service vulnerability in qax-os excelize, published on 10 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59161 exists.\n\nAffected packages and fixed versions:\n- github.com/xuri/excelize/v2 (Go): affected all versions; fixed in 2.11.0\n- github.com/xuri/excelize/v2 (Go): affected all versions; fixed in 2.11.0\n- github.com/xuri/excelize/v2 (Go): affected all versions; fixed in 2.11.0\n- github.com/xuri/excelize (Go): affected all versions up to 1.4.0; no fix listed\n- github.com/xuri/excelize (Go): affected all versions up to 1.4.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-59161/ (Markdown: https://insights.sbomify.com/CVE-2026-59161/index.md)","id":"CVE-2026-59161","markdown":"https://insights.sbomify.com/CVE-2026-59161/index.md","name":"CVE-2026-59161","record":{"aliases":["GHSA-q5j5-6p94-4gwc","GO-2026-6453"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go Excel library","requires_auth":"none","summary":"An attacker can cause excessive memory and CPU consumption in applications using the Excelize library by providing a crafted XLSX file with invalid row indices.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"excelize","vendor":"excelize"}],"cvss":{"score":8.7,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Excelize: Streaming GetRows row-bound bypass causes attacker-controlled allocation","id":"CVE-2026-59161","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":5,"n_references":4,"next":{"headline":"Excelize: Negative shared-string index causes panic in GetCellValue and GetRows","id":"CVE-2026-59162"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.4.0"],"package":"github.com/xuri/excelize","purl":null,"source":"GHSA-q5j5-6p94-4gwc"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.4.0"],"package":"github.com/xuri/excelize","purl":"pkg:golang/github.com/xuri/excelize","source":"GHSA-q5j5-6p94-4gwc"},{"ecosystem":"Go","fixed":["2.11.0"],"introduced":["0"],"last_affected":[],"package":"github.com/xuri/excelize/v2","purl":null,"source":"GHSA-q5j5-6p94-4gwc"},{"ecosystem":"Go","fixed":["2.11.0"],"introduced":["0"],"last_affected":[],"package":"github.com/xuri/excelize/v2","purl":"pkg:golang/github.com/xuri/excelize/v2","source":"GHSA-q5j5-6p94-4gwc"},{"ecosystem":"Go","fixed":["2.11.0"],"introduced":["0"],"last_affected":[],"package":"github.com/xuri/excelize/v2","purl":"pkg:golang/github.com/xuri/excelize/v2","source":"GO-2026-6453"}],"prev":{"headline":"Yeger: Unauthenticated Network-Exposed Turborepo Task Execution via /api/run","id":"CVE-2026-59160"},"products":["excelize"],"published":"2026-07-10","related":[{"cvss_score":8.7,"headline":"Excelize: Unchecked pivot-cache field index in extractPivotTableFields causes unrecoverable panic","id":"CVE-2026-107211","kev_date_added":null,"published":"2026-10-07"},{"cvss_score":8.7,"headline":"Excelize: Nil-pointer dereference in GetSlicers when a worksheet has extLst present but no drawing element","id":"CVE-2026-107213","kev_date_added":null,"published":"2026-10-07"},{"cvss_score":7.5,"headline":"Excelize: Unbounded row number in Rows.Columns makes GetRows and the Rows iterator loop for days","id":"CVE-2026-107212","kev_date_added":null,"published":"2026-10-07"},{"cvss_score":7.5,"headline":"Excelize Decrypt: unrecoverable panics on malformed OLE/CFB encrypted workbooks","id":"CVE-2026-107214","kev_date_added":null,"published":"2026-10-07"},{"cvss_score":7.5,"headline":"Excelize: extractPart allocates attacker-controlled, unbounded and negative-sized buffers from CFB directory entries: remote panic / OOM DoS","id":"CVE-2026-107215","kev_date_added":null,"published":"2026-10-07"},{"cvss_score":7.5,"headline":"Excelize ANCHORARRAY: mutually-referencing array formulas recurse unboundedly via re-entrant CalcCellValue, causing a fatal stack overflow","id":"CVE-2026-107216","kev_date_added":null,"published":"2026-10-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-14","vendors":["qax-os"]},"summary":"An attacker can cause excessive memory and CPU consumption in applications using the Excelize library by providing a crafted XLSX file with invalid row indices.","url":"https://insights.sbomify.com/CVE-2026-59161/"}