Description
catdoc through 0.95 contains an out-of-bounds read vulnerability in the MULRK record handler of process_item() in src/xlsparse.c that allows attackers to read past the static rec buffer via a crafted end column. Attackers can supply a crafted .xls workbook or BIFF stream with a large endcol to xls2csv to disclose adjacent process memory as CSV cells or crash the process.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
catdoc catdoc
Default version status: unaffected
0 to ≤ 0.95affected
pkg:github/vbwagner/catdocReferences
- https://hackmd.io/@haind-pwn/catdoc-xls-mulrk-endcol-and-string-count-oob-read ↗
- https://github.com/vbwagner/catdoc/blob/38a2807d22ce1a08bc39b94e9072a9f8f52cd86f/src/xlsparse.c#L314-L328 ↗
- https://github.com/vbwagner/catdoc ↗
- https://www.vulncheck.com/advisories/catdoc-through-0.95-out-of-bounds-read-in-xls2csv-mulrk-record-handler ↗