Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-107221— Excelize: a row whose earlier cell has a higher column reference than its last cell panics index out of range on almost every worksheet read API

Quick assessment

Affected
qax-os excelize
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Excelize 是一个用于读取和写入 Microsoft Excel 电子表格的 Go 语言库。在版本 2.0.0 至 2.11.0 中,checkRow 函数根据 XML 文档中最后一个单元格的大小来初始化目标单元格切片,然后根据每个单元格的显式列引用重新分散所有单元格。GetCellValue 会调用 workSheetReader 和 checkRow,此时目标列表(targetList)对于排序靠前的乱序单元格来说过短。当构造的行中,某一列索引较高的单元格出现在列索引较低的最终单元格之前,并且使用非流式工

CVSS 6.5 · Medium

Possible ATT&CK Techniques 1 AI

T1211 · Exploitation for Stealth

Affected Version Matrix 1

VendorProduct Version RangeStatus
qax-os excelize >= 2.0.0, <= 2.11.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-107221

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Excelize: a row whose earlier cell has a higher column reference than its last cell panics index out of range on almost every worksheet read API
Source: CVE Program / CVE List V5
Vulnerability Description
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.0.0 to 2.11.0, checkRow sizes its target cell slice from the last cell in XML document order and then re-scatters every cell by its explicit column reference. GetCellValue reaches workSheetReader and checkRow, where targetList is too short for an earlier out-of-order cell. When a crafted row places a higher-column cell before a lower-column final cell and a non-streaming worksheet API reads the sheet, the earlier cell's column index exceeds the slice length derived from the final cell, allowing an attacker to cause an unrecovered panic and terminate the process. No fixed version is available as of this review.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
qax-os excelize >= 2.0.0, <= 2.11.0 -

II. Public POCs for CVE-2026-107221

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-107221

请登录查看更多情报信息。

Other References for CVE-2026-107221 (3)

Same Patch Batch · qax-os · 2026-10-07 · 15 CVEs total

CVE-2026-107211 8.7 HIGH Excelize: Unchecked pivot-cache field index in extractPivotTableFields causes unrecoverabl
CVE-2026-107213 8.7 HIGH Excelize: Nil-pointer dereference in GetSlicers when a worksheet has extLst present but no
CVE-2026-107212 7.5 HIGH Excelize: Unbounded row number in Rows.Columns makes GetRows and the Rows iterator loop fo
CVE-2026-107214 7.5 HIGH Excelize Decrypt: unrecoverable panics on malformed OLE/CFB encrypted workbooks
CVE-2026-107216 7.5 HIGH Excelize ANCHORARRAY: mutually-referencing array formulas recurse unboundedly via re-entra
CVE-2026-107215 7.5 HIGH Excelize: extractPart allocates attacker-controlled, unbounded and negative-sized buffers
CVE-2026-107217 7.5 HIGH Excelize ColumnNameToNumber: int64 overflow yields an out-of-domain coordinate with nil er
CVE-2026-107219 7.5 HIGH Excelize: Unbounded spinCount in agile decryption burns CPU during OpenFile
CVE-2026-107223 7.1 HIGH Excelize: Unbounded <col max> attribute is loaded with no MaxColumns check and expanded pe
CVE-2026-107220 6.5 MEDIUM Excelize: Panic in cellInRange on a worksheet with an empty mergeCell ref
CVE-2026-107222 6.5 MEDIUM Excelize: GetConditionalFormats indexes conditional-formatting rule sub-elements with no l
CVE-2026-107225 6.5 MEDIUM Excelize: GetStyle panics on a negative fillId, borderId or fontId in styles.xml
CVE-2026-107224 6.5 MEDIUM Excelize: A Zip64 uncompressed-size of 2^63 panics OpenFile/OpenReader
CVE-2026-107218 5.3 MEDIUM Excelize: RIGHT() on supplementary-plane text slices with a negative index and panics

IV. Related Vulnerabilities

V. Comments for CVE-2026-107221

No comments yet


Leave a comment