Read the docs

Excelize GetStyle panics on negative style indices in styles.xml

Priority MEDIUM 62CWE-129Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-129 and the CVSS impact.

Summary

Excelize from 2.8.0 through 2.11.0, a Go library for reading and writing Excel spreadsheets, is affected. GetStyle checks only upper bounds on fill, border and font indices from styles.xml, so negative values reach slice indexing (CWE-129). When an application reads the style of a crafted styles.xml file, the negative index causes a panic. A proof-of-concept exploit is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.8.0 to 2.11.0, GetStyle's fill, border, and font extraction predicates check only upper bounds for attacker-controlled style-table indices. File.GetStyle relies on extractStyleCondFuncs predicates that allow negative FillID, BorderID, and FontID values to reach slice indexing. When a crafted styles.xml supplies a negative fillId, borderId, or fontId and the application reads the style, a negative identifier passes the upper-bound-only predicate and becomes a negative slice index, allowing an attacker to panic while reading cell styling. No fixed version is available as of this review.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0027 19th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed github.com/xuri/excelize/v2 (Go): 2.11.1-0.20260731010303-ae2113b410e5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
qax-osexcelize2.8.0 – 2.11.0—No fix listedCNA
—github.com/xuri/excelize/v2 (Go)2.8.0 to before 2.11.1-0.20260731010303-ae2113b410e52.11.1-0.20260731010303-ae2113b410e5Patch availableGHSA-5h23-36rv-pm65
  • excelize Vendorqax-os Affected 2.8.0 – 2.11.0 Fixed in — No fix listed CNA
  • github.com/xuri/excelize/v2 (Go) Vendor— Affected 2.8.0 to before 2.11.1-0.20260731010303-ae2113b410e5 Fixed in 2.11.1-0.20260731010303-ae2113b410e5 Patch available GHSA-5h23-36rv-pm65

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:excelize:excelize:*:*:*:*:*:go:*:*2.8.0 – 2.11.0Vulnerableqax-os
  • cpe:2.3:a:excelize:excelize:*:*:*:*:*:go:*:* Versions 2.8.0 – 2.11.0 Vulnerable ·qax-os

Remediation

The Go module github.com/xuri/excelize/v2 is fixed in version 2.11.1-0.20260731010303-ae2113b410e5. The sources list no fixed version for excelize.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

  • Fix · GHSA-5h23-36rv-pm65 github.com/xuri/excelize/v2 (Go) Fixed in 2.11.1-0.20260731010303-ae2113b410e5 Advisory →

Timeline

  1. 2026-10-07 Threatist record created from CVE-2026-107225
  2. 2026-10-07 Alias added: GHSA-5h23-36rv-pm65
  3. 2026-10-07 Fix available: Go/github.com/xuri/excelize/[email protected] · GHSA-5h23-36rv-pm65
  4. 2026-10-07 CVSS score added · GHSA-5h23-36rv-pm65
  5. 2026-10-07 Weakness changed · GHSA-5h23-36rv-pm65
  6. 2026-10-07 4 new references · GHSA-5h23-36rv-pm65
  7. 2026-10-09 Priority changed: MEDIUM → LOW
  8. 2026-10-10 CISA SSVC decision points changed
  9. 2026-10-10 Priority changed: LOW → MEDIUM

References

  • TI-2026-42325 Excelize: Streaming GetRows row-bound bypass causes attacker-controlled allocation CVSS 4.0HIGH 8.7
  • TI-2026-69266 Integer overflow in Excelize column parsing causes process panic CVSS 3.1HIGH 7.5
  • TI-2026-69263 Excelize crafted OLE files cause memory exhaustion and panic CVSS 3.1HIGH 7.5
  • TI-2026-69262 Unrecoverable panics in Excelize Decrypt on malformed OLE workbooks CVSS 3.1HIGH 7.5
  • TI-2026-69260 Unbounded row number in Excelize lets crafted spreadsheets hang reads CVSS 3.1HIGH 7.5
  • TI-2026-38996 Excelize: Unbounded Row Index Allocation in Worksheet Parser (checkSheet OOM/Panic DoS) CVSS 3.1HIGH 7.5
See all 17 →

Sources