CVE-2026-107223
Description
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.
How to fix
- github.com/xuri/excelize/v22.11.1-0.20260807015645-a54c578af309 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| excelize excelize | 2.1.0 ≤ v ≤ 2.11.0 | — |
| github.com/xuri/excelize/v2Go | 2.1.0 ≤ v < 2.11.1-0.20260807015645-a54c578af309 | 2.11.1-0.20260807015645-a54c578af309 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.