6.1Medium
CVE-2026-111127catdoc through 0.95 Out-of-Bounds Read via xls2csv copy_unicode_string
Description
catdoc through 0.95 contains an out-of-bounds read vulnerability in copy_unicode_string() in src/xlsparse.c that allows attackers to read past buffers via an unchecked string character count. Attackers can supply a crafted .xls file declaring 0xFFFF two-byte characters in LABEL, STRING, or SST records to disclose adjacent memory through xls2csv output or crash the process.
Weakness (CWE):
CWE-125
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- https://hackmd.io/@haind-pwn/catdoc-xls-mulrk-endcol-and-string-count-oob-read technical-description
- https://github.com/vbwagner/catdoc/blob/38a2807d22ce1a08bc39b94e9072a9f8f52cd86f/src/xlsparse.c#L421-L520 technical-description
- https://github.com/vbwagner/catdoc product
- VulnCheck Advisory: catdoc through 0.95 Out-of-Bounds Read via xls2csv copy_unicode_string third-party-advisory