CVE-2026-107215
Description
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.3.1 to 2.11.0, extractPart allocates a byte slice directly from an attacker-controlled CFB directory-entry size before validating the sector chain or size domain. extractPart trusts the CFB directory entry streamSize for EncryptionInfo and EncryptedPackage allocations before validating the stream. When a crafted OLE compound file declares a negative or extremely large EncryptionInfo or EncryptedPackage stream size, the declared size reaches make with a negative length or forces a multi-gigabyte allocation, allowing an attacker to panic or exhaust process memory. No fixed version is available as of this review.
How to fix
- github.com/xuri/excelize/v22.11.1-0.20260912113515-5f636f9dcde5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| excelize excelize | 2.3.1 ≤ v ≤ 2.11.0 | — |
| github.com/xuri/excelize/v2Go | 2.3.1 ≤ v < 2.11.1-0.20260912113515-5f636f9dcde5, v < 2.11.1-0.20260912113515-5f636f9dcde5 | 2.11.1-0.20260912113515-5f636f9dcde5 |
| github.com/360EntSecGroup-Skylar/excelize/v2Go | 2.3.1 ≤ v | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.