Excelize ColumnNameToNumber: int64 overflow yields an out-of-domain coordinate with nil error, causing negative slice index panic on r="0" rows
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/xuri/excelize/v2 2.11.1-0.20260910071107-696050fbf14e.
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.0.0 to 2.11.0 in github.com/xuri/excelize/v2 and from 1.1.0 to 1.4.1 in github.com/xuri/excelize, ColumnNameToNumber accumulates a bijective base-26 value in int64 without detecting overflow, allowing an invalid long column name to wrap to zero with no error. ColumnNameToNumber accepts the overflowing name VGWQHXLSDVIKWV, after which checkSheetR0 and xlsxWorksheet.checkRow use the wrapped column value as an index. When a crafted worksheet uses an overflowing column name in a row normalized by checkSheetR0 or checkRow, the wrapped zero column becomes a negative slice index during worksheet normalization, allowing an attacker to panic and terminate the calling process. No fixed version is available as of this review.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| qax-os | >=1.1.0 <=1.4.1, >=2.0.0 <=2.11.0 | ||
| go: github.com/xuri/excelize | >=1.1.0, >=1.1.0 <=1.4.1 | ||
| go: github.com/xuri/excelize/v2 | <2.11.1-0.20260910071107-696050fbf14e, >=2.0.0 <2.11.1-0.20260910071107-696050fbf14e | 2.11.1-0.20260910071107-696050fbf14e |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket