Skip to content
Heist/ feed
Medium

Excelize: GetStyle panics on a negative fillId, borderId or fontId in styles.xml

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-107225

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-107225

excelize

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "qax-os",
    "product": "excelize",
    "versions": [
      {
        "status": "affected",
        "version": ">= 2.8.0, <= 2.11.0"
      }
    ]
  }
]
Related CVEs
CVE-2026-107225

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#16549 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement