Excelize GetStyle panics on negative style indices in styles.xml
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| qax-os | excelize | 2.8.0 – 2.11.0 | — | No fix listed | CNA |
| — | github.com/xuri/excelize/v2 (Go) | 2.8.0 to before 2.11.1-0.20260731010303-ae2113b410e5 | 2.11.1-0.20260731010303-ae2113b410e5 | Patch available | GHSA-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
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
- 2026-10-07 Threatist record created from CVE-2026-107225
- 2026-10-07 Alias added: GHSA-5h23-36rv-pm65
- 2026-10-07 Fix available: Go/github.com/xuri/excelize/[email protected] · GHSA-5h23-36rv-pm65
- 2026-10-07 CVSS score added · GHSA-5h23-36rv-pm65
- 2026-10-07 Weakness changed · GHSA-5h23-36rv-pm65
- 2026-10-07 4 new references · GHSA-5h23-36rv-pm65
- 2026-10-09 Priority changed: MEDIUM → LOW
- 2026-10-10 CISA SSVC decision points changed
- 2026-10-10 Priority changed: LOW → MEDIUM
References
More qax-os Excelize vulnerabilities
- 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
Sources
- CVE-2026-107225 · CVE Program
- CVE-2026-107225 · NVD
- FIRST EPSS
- GHSA-5h23-36rv-pm65 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences