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.
Fix
Patch, vendor advisory and mitigation references on NVD 4
- https://github.com/qax-os/excelize/commit/5f636f9dcde55911f14290060b017f0cc88cd694 Patch
- https://github.com/qax-os/excelize/pull/2396 Issue Tracking, Patch
- https://github.com/qax-os/excelize/security/advisories/GHSA-x2q3-8cjh-766f Exploit, Vendor Advisory
- https://github.com/qax-os/excelize/security/advisories/GHSA-x2q3-8cjh-766f Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.5 · excelizeNVD modified 2026-10-13 14:23
Affected (CPE criteria) 1
cpe:2.3:a:excelize:excelize:*:*:*:*:*:go:*:*
References 4
- https://github.com/qax-os/excelize/commit/5f636f9dcde55911f14290060b017f0cc88cd694 Patch
- https://github.com/qax-os/excelize/pull/2396 Issue Tracking, Patch
- https://github.com/qax-os/excelize/security/advisories/GHSA-x2q3-8cjh-766f Exploit, Vendor Advisory
- https://github.com/qax-os/excelize/security/advisories/GHSA-x2q3-8cjh-766f Exploit, Vendor Advisory