{"id":"CVE-2026-107223","published":"2026-10-07T18:48:54Z","modified":"2026-10-07T22:05:27Z","title":"Excelize: Unbounded <col max> attribute is loaded with no MaxColumns check and expanded per-column by flatCols(), so…","vendor":"qax-os","product":"excelize","tier":"tail","description":{"text":"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 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00616,"percentile":0.43806,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/qax-os/excelize/security/advisories/GHSA-fq3v-74gv-27gm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/qax-os/excelize/pull/2370","tags":["x_refsource_MISC"]},{"url":"https://github.com/qax-os/excelize/commit/a54c578af309fa81f448143ed2b7a91192cc58a7","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":8.76},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"qax-os","affectedVersions":[{"vendor":"qax-os","product":"excelize","versions":[">= 2.1.0, <= 2.11.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-07T22:03:57.126591Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/xuri/excelize/v2","vulnerableRanges":[">=2.1.0, <2.11.1","<2.11.1-0.20260807015645-a54c578af309"],"patched":["2.11.1","2.11.1-0.20260807015645-a54c578af309"],"from":["GHSA-fq3v-74gv-27gm","GO-2026-6678"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/360EntSecGroup-Skylar/excelize/v2","vulnerableRanges":[">=2.1.0"],"patched":[],"from":["GO-2026-6678"],"provenance":"source"}],"summary":{"text":"The Excelize Go library (versions 2.1.0 through 2.11.0) has a flaw in its flatCols function, which expands file-loaded column ranges without checking Min and Max against the worksheet column limit, and this is reached through SetColWidth. An attacker who can supply a crafted worksheet with an oversized col max attribute can exhaust CPU and memory, or trigger an out-of-memory condition, when the application invokes a column mutator, which requires user interaction to open or process the file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:53Z"},"euvd":{"id":"EUVD-2026-94554","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-59161","published":"2026-07-10","fixed":"2.11.0","kev":false,"link":{"from":"CVE-2026-59161","to":"CVE-2026-107223","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/xuri/excelize/v2","fromFixed":"2.11.0","toFixed":"2.11.1","daysApart":89}]}},{"cve":"CVE-2026-59162","published":"2026-07-10","fixed":"2.11.1-0.20260728235842-f98df08a8f6a","kev":false},{"cve":"CVE-2026-107225","published":"2026-10-07","fixed":"2.11.1-0.20260731010303-ae2113b410e5","kev":false},{"cve":"CVE-2026-107224","published":"2026-10-07","fixed":"2.11.1-0.20260805032953-db93f8d89de7","kev":false,"link":{"from":"CVE-2026-107224","to":"CVE-2026-107223","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/xuri/excelize/v2","fromFixed":"2.11.1-0.20260805032953-db93f8d89de7","toFixed":"2.11.1-0.20260807015645-a54c578af309","daysApart":0}]}},{"cve":"CVE-2026-107223","published":"2026-10-07","fixed":"2.11.1-0.20260807015645-a54c578af309","kev":false},{"cve":"CVE-2026-107222","published":"2026-10-07","fixed":"2.11.1-0.20260812075026-be7a16390fa6","kev":false,"link":{"from":"CVE-2026-107223","to":"CVE-2026-107222","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/xuri/excelize/v2","fromFixed":"2.11.1-0.20260807015645-a54c578af309","toFixed":"2.11.1-0.20260812075026-be7a16390fa6","daysApart":0}]}},{"cve":"CVE-2026-107221","published":"2026-10-07","fixed":"2.11.1-0.20260816084418-46a5eb289448","kev":false},{"cve":"CVE-2026-107220","published":"2026-10-07","fixed":"2.11.1-0.20260820023833-99903a3240e5","kev":false}],"package":"Go:github.com/xuri/excelize/v2"}}