{"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-107222 exists.","fix":"Upgrade github.com/xuri/excelize/v2 to 2.11.1-0.20260812075026-be7a16390fa6 or later.","what":"CVE-2026-107222 is a medium-severity 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-107222 and fix it if it is affected.\n\nWhat it is: CVE-2026-107222 is a medium-severity 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-107222 exists.\n\nAffected packages and fixed versions:\n- github.com/xuri/excelize/v2 (Go): affected from 2.7.0; fixed in 2.11.1-0.20260812075026-be7a16390fa6\n- github.com/xuri/excelize/v2 (Go): affected from 2.7.0; fixed in 2.11.1-0.20260812075026-be7a16390fa6\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-107222/ (Markdown: https://insights.sbomify.com/CVE-2026-107222/index.md)","id":"CVE-2026-107222","markdown":"https://insights.sbomify.com/CVE-2026-107222/index.md","name":"CVE-2026-107222","record":{"aliases":["GHSA-rxcj-4pj5-74gr"],"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 can cause a panic in the Excelize Go library via nil dereference or out-of-range indexing during conditional format extraction.","user_interaction":"required","vuln_class":"null_dereference"},"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-476","name":"NULL Pointer Dereference"},{"id":"CWE-129","name":"Improper Validation of Array Index"}],"description":"Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.7.0 to 2.11.0, conditional-format extraction indexes required child slices or dereferences an optional colorScale child without validating malformed rule structure. GetConditionalFormats reaches extractCondFmtCellIs and also indexes ColorScale.Cfvo, DataBar.Cfvo, and DataBar.Color without complete structural checks. When a crafted worksheet supplies a cellIs, dataBar, or colorScale rule missing expected children and the application calls GetConditionalFormats, missing formula, color, value-object, or colorScale data reaches an out-of-range index or nil dereference, allowing an attacker to panic and terminate an unprotected 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: GetConditionalFormats indexes conditional-formatting rule sub-elements with no length or nil check","id":"CVE-2026-107222","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"null_dereference","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Excelize: Unbounded \u003ccol max\u003e attribute is loaded with no MaxColumns check and expanded per-column by flatCols(), so any column mutator hangs or OOMs the process","id":"CVE-2026-107223"},"packages":[{"ecosystem":"Go","fixed":["2.11.1-0.20260812075026-be7a16390fa6"],"introduced":["2.7.0"],"last_affected":[],"package":"github.com/xuri/excelize/v2","purl":null,"source":"GHSA-rxcj-4pj5-74gr"},{"ecosystem":"Go","fixed":["2.11.1-0.20260812075026-be7a16390fa6"],"introduced":["2.7.0"],"last_affected":[],"package":"github.com/xuri/excelize/v2","purl":"pkg:golang/github.com/xuri/excelize/v2","source":"GHSA-rxcj-4pj5-74gr"}],"prev":{"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"},"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-08","vendors":["qax-os"]},"summary":"A crafted Excel file can cause a panic in the Excelize Go library via nil dereference or out-of-range indexing during conditional format extraction.","url":"https://insights.sbomify.com/CVE-2026-107222/"}