Excelize
Excelize: Nil-pointer dereference in GetSlicers when a worksheet has extLst present but no drawing element
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.9.0 to 2.11.0, GetSlicers checks for ExtLst but dereferences ws.Drawing without checking whether the independently optional drawing element exists. File.GetSlicers reads ws.Drawing.RID after seeing a worksheet extLst element even when the independently optional worksheet drawing element is absent. When a crafted worksheet contains an extLst element without a drawing element and the application calls GetSlicers, the nil ws.Drawing pointer is dereferenced while resolving the drawing relationship, allowing an attacker to panic and terminate an unprotected process. No fixed version is available as of this review.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 2.9.0, <= 2.11.0
- >= 2.9.0, < 2.11.1-0.20260929015830-8ffeb07ec9a3
Fixed in 2.11.1-0.20260929015830-8ffeb07ec9a3
from GitHub Security Advisory GHSA-r7x5-4969-99p7
Mitigation
Upgrade github.com/xuri/excelize/v2 to 2.11.1-0.20260929015830-8ffeb07ec9a3 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.