---
id: CVE-2026-107215
title: >-
  Excelize is a Go language library for reading and writing Microsoft Excel
  spreadsheets
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 c…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-789
vendor: qax-os
product: excelize
affected:
  - 'excelize >= 2.3.1, <= 2.11.0'
published: '2026-10-07'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T18:17:19.213'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107215'
references:
  - url: >-
      https://github.com/qax-os/excelize/commit/5f636f9dcde55911f14290060b017f0cc88cd694
    label: security-advisories@github.com
  - url: 'https://github.com/qax-os/excelize/pull/2396'
    label: security-advisories@github.com
  - url: 'https://github.com/qax-os/excelize/security/advisories/GHSA-x2q3-8cjh-766f'
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-07T18:42:20.891Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
