Skip to content

CVE-2026-107223 Excelize: Unbounded <col max> attribute is loaded with no MaxColumns check and expanded per-column by flatCols(), so any column mutator hangs or OOMs the process

HighCVSS 7.1 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

4 packages: 2 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
360EntSecGroup-Skylar github.com/360EntSecGroup-Skylar/excelize/v2(Go) >= 2.1.0 No fix listed No fix yet
excelize >= 2.1.0, <= 2.11.0 after 2.11.0 Fixed
xuri github.com/xuri/excelize/v2(Go) < 2.11.1-0.20260807015645-a54c578af309; >= 2.1.0, < 2.11.1 2.11.1, 2.11.1-0.20260807015645-a54c578af309 Fixed
qax-os excelize = >= 2.1.0, <= 2.11.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
360EntSecGroup-Skylar github.com/360EntSecGroup-Skylar/excelize/v2(Go) >= 2.1.0 No fix listed
xuri github.com/xuri/excelize/v2(Go) < 2.11.1-0.20260807015645-a54c578af309 2.11.1-0.20260807015645-a54c578af309
qax-os excelize = >= 2.1.0, <= 2.11.0 No fix listed
excelize >= 2.1.0, <= 2.11.0 No fix listed
xuri github.com/xuri/excelize/v2(Go) >= 2.1.0, < 2.11.1 2.11.1

References