- Home
- Vulnerabilities
- CVE-2026-107215
CVE-2026-107215
Excelize: extractPart allocates attacker-controlled, unbounded and negative-sized buffers from CFB directory entries: remote panic / OOM DoS
Summary
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.
Affected products and versions
qax-os (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| excelize | Versions not specified | — | CNA (vendor or assigner) |
Excelize (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Excelize | from 2.3.1 (included) to 2.11.0 (included) |
— | NVD |
Go (3 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| github.com/360EntSecGroup-Skylar/excelize/v2 | from 2.3.1 (included) |
— | OSV |
| github.com/xuri/excelize/v2 | before 2.11.1-0.20260912113515-5f636f9dcde5 (excluded) |
2.11.1-0.20260912113515-5f636f9dcde5 |
OSV |
| github.com/xuri/excelize/v2 | from 2.3.1 (included) to 2.11.1-0.20260912113515-5f636f9dcde5 (excluded) |
2.11.1-0.20260912113515-5f636f9dcde5 |
GitHub Advisory |
Fix
Upgrade — Go/github.com/xuri/excelize/v2 2.11.1-0.20260912113515-5f636f9dcde5official source
Source : OSV
Upgrade — Go/github.com/xuri/excelize/v2 2.11.1-0.20260912113515-5f636f9dcde5official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
CERT-FR advisories
- GO-2026-6689 — Panic and memory exhaustion via unbounded CFB stream allocation in github.com/xuri/excelize 19 Oct 2026
- GHSA-x2q3-8cjh-766f — Excelize: extractPart allocates attacker-controlled, unbounded and negative-sized buffers from CFB directory entries: remote panic / OOM DoS 8 Oct 2026
References
- https://github.com/qax-os/excelize/commit/5f636f9dcde55911f14290060b017f0cc88cd694x_refsource_MISC
- https://github.com/qax-os/excelize/pull/2396x_refsource_MISC
- https://github.com/qax-os/excelize/security/advisories/GHSA-x2q3-8cjh-766fexploit
- https://nvd.nist.gov/vuln/detail/CVE-2026-107215ADVISORY
- https://github.com/qax-os/excelizePACKAGE
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, CNA:GitHub_M)- Weakness
- CWE-789 · Autre (CWE-789)