CVE-2026-107225: Excelize: GetStyle panics on a negative fillId, borderId or fontId in styles.xml
Vulnerability summary
CVE-2026-107225 is a medium (CVSS 6.5) Improper Input Validation vulnerability in excelize. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 20.3% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 07-10-2026PublishedVulnerability first disclosed.
- 10-10-2026Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
20%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.27% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExcelize
Maturity: poc
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-129Improper Validation of Array IndexThe product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Excelize1 product
- excelize≥ 2.8.0, ≤ 2.11.0
Github.com/xuri/excelize1 product
- v2≥ 2.8.0, < 2.11.1-0.20260731010303-ae2113b410e5
Qax-os1 product
- excelize≥ 2.8.0, ≤ 2.11.0
3 vendors · 3 products
References
4 links- github.com/qax-os/excelize/security/advisories/GHSA-5h23-36rv-pm65X Refsource CONFIRMWEBExploitVendor AdvisoryAdvisory
- github.com/qax-os/excelize/commit/ae2113b410e51f6a141c396a59eda8c42b91bc22X Refsource MISCWEBPatchFIX
- github.com/qax-os/excelizePACKAGE