[ CVE-2026-107213 · Published 7 Oct 2026 ]
Excelize: Nil-pointer dereference in GetSlicers when a worksheet has extLst present but no drawing element
[ Description ]Official description
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.
[ Fixes ]Fixes and patches
- github.com/xuri/excelize/v2 2.11.1-0.20260929015830-8ffeb07ec9a3Fixed version · GitHub Advisories · go package github.com/xuri/excelize/v2: upgrade to 2.11.1-0.20260929015830-8ffeb07ec9a3 or later (affected >= 2.9.0, < 2.11.1-0.20260929015830-8ffeb07ec9a3)
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
[ Packages ]Affected open-source packages
- github.com/xuri/excelize/v2 goAffected >= 2.9.0, < 2.11.1-0.20260929015830-8ffeb07ec9a3 · fixed in 2.11.1-0.20260929015830-8ffeb07ec9a3 · GHSA-r7x5-4969-99p7
[ References ]References
- github.com/qax-os/excelize/commit/8ffeb07ec9a350410f6922313f6b7e4f5cc79241Patch
- github.com/qax-os/excelize/pull/2434Issue TrackingPatch
- github.com/qax-os/excelize/security/advisories/GHSA-r7x5-4969-99p7ExploitVendor Advisory