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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-107218— Excelize: RIGHT() on supplementary-plane text slices with a negative index and panics

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.10.1 至 2.11.0 中,RIGHT 函数使用 UTF-16 代码单元(code-unit)数量来验证请求的长度,但在对字符(rune)数组进行切片时却使用了 Unicode 代码点(code-point)数量。RIGHT 函数通过 CalcCellValue 方法调用内部逻辑 leftRight,其中 countUTF16StringString 函数验证的是代码单元数量,而 utf8.RuneCount

CVSS 5.3 · Medium

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-107218

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: RIGHT() on supplementary-plane text slices with a negative index and panics
Source: CVE Program / CVE List V5
Vulnerability Description
Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.10.1 to 2.11.0, RIGHT validates the requested length with UTF-16 code-unit counts but slices a rune array using Unicode code-point counts. RIGHT reaches leftRight through CalcCellValue, where countUTF16String validates one unit but utf8.RuneCountInString supplies the slice index in another. When RIGHT evaluates supplementary-plane text with a requested character count between the rune count and UTF-16 code-unit count, the inconsistent units produce a negative rune-slice index, allowing an attacker to panic during formula evaluation. 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:N/S:U/C:N/I:N/A:L
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.10.1, <= 2.11.0 -

II. Public POCs for CVE-2026-107218

# 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-107218

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

Other References for CVE-2026-107218 (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-107221 6.5 MEDIUM Excelize: a row whose earlier cell has a higher column reference than its last cell panics
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

IV. Related Vulnerabilities

V. Comments for CVE-2026-107218

No comments yet


Leave a comment