{"id":"CVE-2026-107223","title":"Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets","summary":"Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.1.0 to 2.11.0, flatCols expands file-loaded column ranges without validating Min and Max against the worksheet column limit. SetColWidth reach…","severity":"high","cvss":7.1,"cvssVector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","cwe":["CWE-789"],"vendor":"xuri","product":"github.com/xuri/excelize/v2","affected":["github.com/xuri/excelize/v2 >= 2.1.0, < 2.11.1-0.20260807015645-a54c578af309"],"patched":["github.com/xuri/excelize/v2 2.11.1-0.20260807015645-a54c578af309"],"published":"2026-10-07","updated":"2026-10-07","sourceUpdated":"2026-10-07T19:17:34.970","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-107223","references":[{"url":"https://github.com/qax-os/excelize/commit/a54c578af309fa81f448143ed2b7a91192cc58a7","label":"security-advisories@github.com"},{"url":"https://github.com/qax-os/excelize/pull/2370","label":"security-advisories@github.com"},{"url":"https://github.com/qax-os/excelize/security/advisories/GHSA-fq3v-74gv-27gm","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-fq3v-74gv-27gm"}],"tags":["nvd","ghsa","go","cve.org"],"aliases":["GHSA-fq3v-74gv-27gm"],"ecosystem":"go","cvssSource":"cna","ingestedAt":"2026-10-07T20:46:46.977Z","slug":"CVE-2026-107223","body":"## Overview\n\nExcelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.1.0 to 2.11.0, flatCols expands file-loaded column ranges without validating Min and Max against the worksheet column limit. SetColWidth reaches flatCols, which expands xlsxCol.Min through xlsxCol.Max without enforcing MaxColumns. When a crafted worksheet supplies an oversized col max attribute and the application invokes a column mutator, flatCols performs a deep copy and append for every attacker-selected column number, allowing an attacker to consume excessive CPU and memory or trigger OOM. No fixed version is available as of this review.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-107223)\n\nAffected packages:\n\n- `github.com/xuri/excelize/v2 >= 2.1.0, < 2.11.1-0.20260807015645-a54c578af309`\n\nPatched in:\n\n- `github.com/xuri/excelize/v2 2.11.1-0.20260807015645-a54c578af309`\n\nSource: https://github.com/advisories/GHSA-fq3v-74gv-27gm","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":39.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}