{"id":"CVE-2026-107215","summary":"Excelize: extractPart allocates attacker-controlled, unbounded and negative-sized buffers from CFB directory entries: remote panic / OOM DoS","details":"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.","aliases":["GHSA-x2q3-8cjh-766f"],"modified":"2026-10-08T02:50:36.888326550Z","published":"2026-10-07T17:48:03.233Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-789"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107215.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107215.json"},{"type":"FIX","url":"https://github.com/qax-os/excelize/commit/5f636f9dcde55911f14290060b017f0cc88cd694"},{"type":"FIX","url":"https://github.com/qax-os/excelize/pull/2396"},{"type":"ADVISORY","url":"https://github.com/qax-os/excelize/security/advisories/GHSA-x2q3-8cjh-766f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107215"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/qax-os/excelize","events":[{"introduced":"89465f41b5a29ac2e1debe16b8cb6f59c344f917"},{"last_affected":"90ff348959dd842cbf3a4fbd93a78afbe18db476"}],"database_specific":{"extracted_events":[{"introduced":"2.3.1"},{"last_affected":"2.11.0"}],"source":"AFFECTED_FIELD"}}],"versions":["v2.11.0","v2.10.1","v2.10.0","v2.9.1","v2.9.0","v2.8.1","v2.8.0","v2.7.1","v2.7.0","v2.6.1","v2.6.0","v2.5.0","v2.4.1","v2.4.0","v2.3.2","v2.3.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107215.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}