---
id: CVE-2026-107219
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, agile decryption accepts an
  attacker-controlled spinCount and performs that many password-key derivation
  iterations before veri…
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-400
vendor: xuri
product: github.com/xuri/excelize/v2
affected:
  - 'github.com/xuri/excelize/v2 >= 2.3.1, < 2.11.1-0.20260906004932-2badfcd5841d'
patched:
  - github.com/xuri/excelize/v2 2.11.1-0.20260906004932-2badfcd5841d
published: '2026-10-07'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T20:17:11.450'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107219'
references:
  - url: >-
      https://github.com/qax-os/excelize/commit/2badfcd5841d0d88b0ffea119f5a2f3c53b4910b
    label: security-advisories@github.com
  - url: 'https://github.com/qax-os/excelize/pull/2389'
    label: security-advisories@github.com
  - url: 'https://github.com/qax-os/excelize/security/advisories/GHSA-jrfj-fhj2-jjvm'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-jrfj-fhj2-jjvm'
tags:
  - nvd
  - ghsa
  - go
  - cve.org
aliases:
  - GHSA-jrfj-fhj2-jjvm
ecosystem: go
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-07T19:44:53.093795Z'
ingestedAt: '2026-10-07T20:46:46.976Z'
---

## Overview

Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.3.1 to 2.11.0, agile decryption accepts an attacker-controlled spinCount and performs that many password-key derivation iterations before verifier validation. OpenFile reaches agileDecrypt, which passes the unbounded spinCount to convertPasswdToKey before password verification. When a crafted OLE encrypted-workbook header supplies an excessive spinCount and the file is opened, the key-derivation loop performs unbounded attacker-selected work and cannot be cancelled, allowing an attacker to consume a CPU core for an attacker-controlled duration. No fixed version is available as of this review.

## Remediation

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

## Package advisory (CVE-2026-107219)

Affected packages:

- `github.com/xuri/excelize/v2 >= 2.3.1, < 2.11.1-0.20260906004932-2badfcd5841d`

Patched in:

- `github.com/xuri/excelize/v2 2.11.1-0.20260906004932-2badfcd5841d`

Source: https://github.com/advisories/GHSA-jrfj-fhj2-jjvm
