Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Excelize | Excelize | >= 2.8.0, <= 2.11.0 |
Related Weaknesses (CWE)
References
- https://github.com/qax-os/excelize/commit/ae2113b410e51f6a141c396a59eda8c42b91bcPatch
- https://github.com/qax-os/excelize/pull/2367Issue TrackingPatch
- https://github.com/qax-os/excelize/security/advisories/GHSA-5h23-36rv-pm65ExploitVendor Advisory
- https://github.com/qax-os/excelize/security/advisories/GHSA-5h23-36rv-pm65ExploitVendor Advisory
FAQ
What is CVE-2026-107225?
CVE-2026-107225 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 attack...
How severe is CVE-2026-107225?
CVE-2026-107225 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-107225?
Check the references section above for vendor advisories and patch information. Affected products include: Excelize Excelize.