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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| qax-os | excelize | >= 2.1.0, <= 2.11.0 |
References
- https://github.com/qax-os/excelize/commit/a54c578af309fa81f448143ed2b7a91192cc58a7Patch
- https://github.com/qax-os/excelize/pull/2370Issue Tracking, Patch
- https://github.com/qax-os/excelize/security/advisories/GHSA-fq3v-74gv-27gmExploit, Vendor Advisory
Timeline
- Published
- Oct 7, 2026
- Last modified
- Oct 13, 2026
- NVD status
- Analyzed