{"answers":{"affected":"2 open source packages ship an affected version, including github.com/xuri/excelize/v2. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-107221 exists.","fix":"Upgrade github.com/xuri/excelize/v2 to 2.11.1-0.20260816084418-46a5eb289448 or later.","what":"CVE-2026-107221 is a medium-severity denial of service vulnerability in qax-os excelize, published on 7 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-107221 and fix it if it is affected.\n\nWhat it is: CVE-2026-107221 is a medium-severity denial of service vulnerability in qax-os excelize, published on 7 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-107221 exists.\n\nAffected packages and fixed versions:\n- github.com/xuri/excelize/v2 (Go): affected from 2.0.0; fixed in 2.11.1-0.20260816084418-46a5eb289448\n- github.com/xuri/excelize/v2 (Go): affected from 2.0.0; fixed in 2.11.1-0.20260816084418-46a5eb289448\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-107221/ (Markdown: https://insights.sbomify.com/CVE-2026-107221/index.md)","id":"CVE-2026-107221","markdown":"https://insights.sbomify.com/CVE-2026-107221/index.md","name":"CVE-2026-107221","record":{"aliases":["GHSA-8mcq-6wmr-jrjv"],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go Excel library","requires_auth":"none","summary":"A crafted Excel file causes a panic in the Excelize Go library, terminating the application during worksheet reading.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"excelize","vendor":"excelize"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.0.0 to 2.11.0, checkRow sizes its target cell slice from the last cell in XML document order and then re-scatters every cell by its explicit column reference. GetCellValue reaches workSheetReader and checkRow, where targetList is too short for an earlier out-of-order cell. When a crafted row places a higher-column cell before a lower-column final cell and a non-streaming worksheet API reads the sheet, the earlier cell's column index exceeds the slice length derived from the final cell, allowing an attacker to cause an unrecovered panic and terminate the process. No fixed version is available as of this review.","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: a row whose earlier cell has a higher column reference than its last cell panics index out of range on almost every worksheet read API","id":"CVE-2026-107221","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Excelize: GetConditionalFormats indexes conditional-formatting rule sub-elements with no length or nil check","id":"CVE-2026-107222"},"packages":[{"ecosystem":"Go","fixed":["2.11.1-0.20260816084418-46a5eb289448"],"introduced":["2.0.0"],"last_affected":[],"package":"github.com/xuri/excelize/v2","purl":null,"source":"GHSA-8mcq-6wmr-jrjv"},{"ecosystem":"Go","fixed":["2.11.1-0.20260816084418-46a5eb289448"],"introduced":["2.0.0"],"last_affected":[],"package":"github.com/xuri/excelize/v2","purl":"pkg:golang/github.com/xuri/excelize/v2","source":"GHSA-8mcq-6wmr-jrjv"}],"prev":{"headline":"Excelize: Panic in cellInRange on a worksheet with an empty mergeCell ref","id":"CVE-2026-107220"},"products":["excelize"],"published":"2026-10-07","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":"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-07","vendors":["qax-os"]},"summary":"A crafted Excel file causes a panic in the Excelize Go library, terminating the application during worksheet reading.","url":"https://insights.sbomify.com/CVE-2026-107221/"}