CVE-2026-107225

Source
https://cve.org/CVERecord?id=CVE-2026-107225
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107225.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-107225
Aliases
Published
2026-10-07T18:55:55Z
Modified
2026-10-08T10:45:25Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Excelize: GetStyle panics on a negative fillId, borderId or fontId in styles.xml
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-129",
        "CWE-20"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107225.json"
}
References

Affected packages

Git / github.com/qax-os/excelize

Affected ranges

Type
GIT
Repo
https://github.com/qax-os/excelize
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "2.8.0"
        },
        {
            "last_affected": "2.11.0"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

v2.*
v2.10.0
v2.10.1
v2.11.0
v2.8.0
v2.8.1
v2.9.0
v2.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107225.json"