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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-10-07 · Modified: 2026-10-10
- Aliases: GHSA-x2q3-8cjh-766f, GO-2026-6689
- Record: https://cvemate.com/vulnerability/CVE-2026-107215 · JSON: https://cvemate.com/vulnerability/CVE-2026-107215/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.287%, percentile 22.752%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- excelize excelize: ≥ 2.3.1, ≤ 2.11.0
- github.com/360EntSecGroup-Skylar/excelize v2 (Go): ≥ 2.3.1 (No fix recorded)
- github.com/xuri/excelize v2 (Go): ≥ 2.3.1, \< 2.11.1-0.20260912113515-5f636f9dcde5 \| \< 2.11.1-0.20260912113515-5f636f9dcde5
- qax-os excelize: ≥ 2.3.1, ≤ 2.11.0

## References

- <https://github.com/qax-os/excelize/security/advisories/GHSA-x2q3-8cjh-766f>
- <https://github.com/qax-os/excelize/pull/2396>
- <https://github.com/qax-os/excelize/commit/5f636f9dcde55911f14290060b017f0cc88cd694>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-107215>
- <https://github.com/qax-os/excelize>

---

Data as of 2026-12-05T14:23:10.090Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
