Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| catdoc / catdoc | affected 0 through 0.95 |
CWE
CWE-125
References
- https://hackmd.io/@haind-pwn/catdoc-xls-mulrk-endcol-and-string-count-oob-read
- https://github.com/vbwagner/catdoc/blob/38a2807d22ce1a08bc39b94e9072a9f8f52cd86f/src/xlsparse.c#L421-L520
- https://github.com/vbwagner/catdoc
- https://www.vulncheck.com/advisories/catdoc-through-0.95-out-of-bounds-read-via-xls2csv-copy-unicode-string
ADP enrichment
No English description supplied.
No references supplied.