medium6.5
CVE-2026-107224
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets.
Impact
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.1.0 to 2.11.0, a Zip64 uncompressed size with the high bit set is converted from uint64 to a negative int64 before signed size-limit checks and allocation. ReadZipReader obtains UncompressedSize64 through FileInfo.Size and passes the wrapped negative value to readFile. When a crafted Zip64 entry declares an uncompressed size from 2^63 through 2^64-1 and the workbook is opened, the negative size bypasses unzip limits and reaches make as a negative capacity, allowing an attacker to panic during workbook opening. No fixed version is available as of this review.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/xuri/excelize/v2 | >= 2.1.0, < 2.11.1-0.20260805032953-db93f8d89de7 | 2.11.1-0.20260805032953-db93f8d89de7 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Excelize | Excelize | from 2.1.0 through 2.11.0 |