{"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-59162 exists.","fix":"Upgrade github.com/xuri/excelize/v2 to 2.11.0 or later.","what":"CVE-2026-59162 is a medium-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-59162 and fix it if it is affected.\n\nWhat it is: CVE-2026-59162 is a medium-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-59162 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-59162/ (Markdown: https://insights.sbomify.com/CVE-2026-59162/index.md)","id":"CVE-2026-59162","markdown":"https://insights.sbomify.com/CVE-2026-59162/index.md","name":"CVE-2026-59162","record":{"aliases":["GHSA-fx5j-qcqg-grpf","GO-2026-6452"],"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":"A malicious XLSX file with a negative shared-string index causes a panic in the Excelize Go library, leading to denial of service.","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":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"},{"id":"CWE-248","name":"Uncaught Exception"}],"description":"Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. Prior to 2.11.0, Excelize parses shared-string cell values with strconv.Atoi and checks only the upper bound before indexing the shared string slice, allowing an XLSX file containing a shared-string cell with -1 to trigger sharedStrings[-1] and panic when read through GetCellValue or GetRows. 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: Negative shared-string index causes panic in GetCellValue and GetRows","id":"CVE-2026-59162","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":"Mnemosyne has JWT signature verification bypass sync server that allows authentication bypass","id":"CVE-2026-59163"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.4.0"],"package":"github.com/xuri/excelize","purl":null,"source":"GHSA-fx5j-qcqg-grpf"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.4.0"],"package":"github.com/xuri/excelize","purl":"pkg:golang/github.com/xuri/excelize","source":"GHSA-fx5j-qcqg-grpf"},{"ecosystem":"Go","fixed":["2.11.0"],"introduced":["0"],"last_affected":[],"package":"github.com/xuri/excelize/v2","purl":null,"source":"GHSA-fx5j-qcqg-grpf"},{"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-fx5j-qcqg-grpf"},{"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-6452"}],"prev":{"headline":"Excelize: Streaming GetRows row-bound bypass causes attacker-controlled allocation","id":"CVE-2026-59161"},"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":8.7,"headline":"Excelize: Streaming GetRows row-bound bypass causes attacker-controlled allocation","id":"CVE-2026-59161","kev_date_added":null,"published":"2026-07-10"},{"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-10","vendors":["qax-os"]},"summary":"A malicious XLSX file with a negative shared-string index causes a panic in the Excelize Go library, leading to denial of service.","url":"https://insights.sbomify.com/CVE-2026-59162/"}