Vulnerabilities

CVE-2026-107220

Medium 6.5 CVSS 3.1

Description

Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.7.1 to 2.11.0, mergeCellsParser leaves the cached rectangle empty for an empty mergeCell ref and then passes that empty slice to cellInRange without a length check. GetCellValue reaches mergeCellsParser, which passes an empty rectangle derived from the mergeCell ref attribute into cellInRange. When a crafted worksheet contains an empty mergeCell ref and a non-streaming cell API reads the worksheet, cellInRange indexes four positions in an empty slice, allowing an attacker to panic on the first affected cell operation. No fixed version is available as of this review.

Description as published by the source, in English.

Key facts

Published
2026-10-07
Last modified
2026-10-13
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Scored by
security-advisories@github.com
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Excelize Excelize ≥ 2.7.1, ≤ 2.11.0 Affected

Weakness type

  • CWE-125: Out-of-bounds Read

    The product reads data past the end, or before the beginning, of the intended buffer.

  • CWE-129: Improper Validation of Array Index

    The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities