Loading0%
SUBZER0
LIVE
Alerts

CVE-2026-107214

Excelize Decrypt: unrecoverable panics on malformed OLE/CFB encrypted workbooks

Archived. This CVE has left SubZer0's live 30-day window. Signals below are as of 2026-11-07; check the references for anything newer.

  • Severity: High
  • CVSS 7.5
  • EPSS 0.24%
  • Public exploit
  • P2 · This week

Why P2: this week.

Description

### Summary Any file whose first 8 bytes are the OLE compound-file signature (`D0 CF 11 E0 A1 B1 1A E1`) is routed by `OpenFile`/`OpenReader`/`OpenBytes` → `openReaderAt` → `Decrypt`. The version dispatch only guarantees `len(EncryptionInfo) >= 4` before handing attacker-controlled `EncryptionInfo`/`EncryptedPackage` buffers to `standardDecrypt`/`agileDecrypt`, and no callee validates structure. Malformed but version-valid content therefore fails as an **unrecovered runtime panic** instead of an error, terminating the calling process. ### Details All panic classes below were execution-confirmed against pristine master (`ecd99d761fe0`, 2026-09-08). `excelize.go:211-213` maps `Decrypt` *errors* to `ErrWorkbookFileFormat`, but panics bypass that path and kill the process. | # | Malformed input | Panic | Site | |---|---|---|---| | 1 | standard, `len(EncryptionInfo)` 4–11 | slice bounds `[:12]` | `crypt.go:238` | | 2 | standard, attacker-controlled `headerSize` uint32 | slice bounds `[12:12+headerSize]` / fixed-offset header reads | `crypt.go:238-249` | | 3 | standard, verifier remainder < 72 (AES) / 60 (RC4) bytes | slice bounds in `standardEncryptionVerifier` | `crypt.go:282-295` | | 4 | standard, `header.KeySize` = 0xFFFFFFFF | slice bounds `[:536870911]` with capacity 48 | `crypt.go:321` | | 5 | standard, `EncryptedPackage` stream missing/short | slice bounds `[8:0]` | `crypt.go:268` | | 6 | agile, `len(EncryptionInfo)` 4–7 | slice bounds `[8:4]` | `crypt.go:407` | | 7 | …

Affected products

  • go github.com/xuri/excelize/v2 >= 2.3.1, < 2.11.1-0.20260915055537-22f76f9acb94; first patched: 2.11.1-0.20260915055537-22f76f9acb94

References

Browse more

Go modulesWeek 41, 2026 recap

Published 2026-10-07 · sources: GitHub Advisory Database