Excelize: A Zip64 uncompressed-size of 2^63 panics OpenFile/OpenReader
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.20260805032953-db93f8d89de7.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| qax-os | >=2.1.0 <=2.11.0 | ||
| go: github.com/360EntSecGroup-Skylar/excelize/v2 | >=2.1.0 | ||
| go: github.com/xuri/excelize/v2 | <2.11.1-0.20260805032953-db93f8d89de7, >=2.1.0 <2.11.1-0.20260805032953-db93f8d89de7 | 2.11.1-0.20260805032953-db93f8d89de7 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in github.com/360EntSecGroup-Skylar/excelize/v2 (Go), strongest first
Embed
A live severity badge for an advisory, README or ticket