Skip to content

CVE-2026-107215 Excelize: extractPart allocates attacker-controlled, unbounded and negative-sized buffers from CFB directory entries: remote panic / OOM DoS

HighCVSS 7.5 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

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

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

Affected products

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

References