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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-07T17:48:03.233Z
- Modified: 2026-10-19T21:41:17.838Z
- Also known as: GHSA-x2q3-8cjh-766f, GO-2026-6689
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- qax-os excelize: >= 2.3.1, <= 2.11.0
- github.com/xuri/excelize/v2 (Go): from 2.3.1 before 2.11.1-0.20260912113515-5f636f9dcde5; before 2.11.1-0.20260912113515-5f636f9dcde5
- github.com/360EntSecGroup-Skylar/excelize/v2 (Go): from 2.3.1
- excelize excelize: from 2.3.1 up to 2.11.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/qax-os/excelize/security/advisories/GHSA-x2q3-8cjh-766f> (exploit, advisory, vendor-advisory, web)
- <https://github.com/qax-os/excelize/pull/2396> (issue-tracking, patch, web)
- <https://github.com/qax-os/excelize/commit/5f636f9dcde55911f14290060b017f0cc88cd694> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-107215> (advisory)
- <https://github.com/qax-os/excelize> (package)

## Sources

- CVE List: [CVE-2026-107215](https://www.cve.org/CVERecord?id=CVE-2026-107215), CVE Terms of Use, modified 2026-10-10
- GitHub Advisory Database: [GHSA-x2q3-8cjh-766f](https://github.com/advisories/GHSA-x2q3-8cjh-766f), CC-BY-4.0, modified 2026-10-19
- Go Vulnerability Database: [GO-2026-6689](https://pkg.go.dev/vuln/GO-2026-6689), CC-BY-4.0, modified 2026-10-19
- NVD: [CVE-2026-107215](https://nvd.nist.gov/vuln/detail/CVE-2026-107215), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2026-107215 · Whole record: https://cve.day/CVE-2026-107215.json · Rebuilt by cve.day 2026-11-25T22:59:43.080Z
