{"id":"CVE-2026-107225","published":"2026-10-07T18:55:55Z","modified":"2026-10-10T02:42:21Z","title":"Excelize: GetStyle panics on a negative fillId, borderId or fontId in styles.xml","vendor":"qax-os","product":"excelize","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00457,"percentile":0.31625,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-129","name":"Improper Validation of Array Index"}],"references":[{"url":"https://github.com/qax-os/excelize/security/advisories/GHSA-5h23-36rv-pm65","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/qax-os/excelize/pull/2367","tags":["x_refsource_MISC"]},{"url":"https://github.com/qax-os/excelize/commit/ae2113b410e51f6a141c396a59eda8c42b91bc22","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":6.32},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"qax-os","affectedVersions":[{"vendor":"qax-os","product":"excelize","versions":[">= 2.8.0, <= 2.11.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-10T02:41:58.921948Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/xuri/excelize/v2","vulnerableRanges":[">=2.8.0, <2.11.1-0.20260731010303-ae2113b410e5"],"patched":["2.11.1-0.20260731010303-ae2113b410e5"],"from":["GHSA-5h23-36rv-pm65","GO-2026-6674"],"provenance":"source"}],"summary":{"text":"The Excelize Go library for reading and writing Excel spreadsheets, in its GetStyle function (versions 2.8.0 through 2.11.0), fails to validate that the fill, border and font identifiers from a spreadsheet's styles.xml are non-negative, so a negative value reaches slice indexing. An attacker can exploit this by supplying a crafted spreadsheet whose styles.xml contains a negative fillId, borderId or fontId, which causes a panic when an application reads the cell style, and this requires that a user open or process the file while the application reads that style.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:23Z"},"euvd":{"id":"EUVD-2026-94556","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-qax-os-excelize-cve-2026-107222","parents":[{"from":"CVE-2026-107222","to":"CVE-2026-107225","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["styles.go"],"commits":["https://github.com/qax-os/excelize/commit/be7a16390fa69c71d3ca618c741d1a2b5ed362cd","https://github.com/qax-os/excelize/commit/ae2113b410e51f6a141c396a59eda8c42b91bc22"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-54063","published":"2026-07-10","fixed":"2.11.0","kev":false},{"cve":"CVE-2026-59161","published":"2026-07-10","fixed":"2.11.0","kev":false},{"cve":"CVE-2026-59162","published":"2026-07-10","fixed":"2.11.1-0.20260728235842-f98df08a8f6a","kev":false,"link":{"from":"CVE-2026-59162","to":"CVE-2026-107225","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/xuri/excelize/v2","fromFixed":"2.11.1-0.20260728235842-f98df08a8f6a","toFixed":"2.11.1-0.20260731010303-ae2113b410e5","daysApart":89}]}},{"cve":"CVE-2026-107225","published":"2026-10-07","fixed":"2.11.1-0.20260731010303-ae2113b410e5","kev":false},{"cve":"CVE-2026-107224","published":"2026-10-07","fixed":"2.11.1-0.20260805032953-db93f8d89de7","kev":false,"link":{"from":"CVE-2026-107225","to":"CVE-2026-107224","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/xuri/excelize/v2","fromFixed":"2.11.1-0.20260731010303-ae2113b410e5","toFixed":"2.11.1-0.20260805032953-db93f8d89de7","daysApart":0}]}},{"cve":"CVE-2026-107223","published":"2026-10-07","fixed":"2.11.1-0.20260807015645-a54c578af309","kev":false},{"cve":"CVE-2026-107222","published":"2026-10-07","fixed":"2.11.1-0.20260812075026-be7a16390fa6","kev":false}],"package":"Go:github.com/xuri/excelize/v2"}}