Description
xlsxio through 0.2.37 contains a NULL pointer dereference vulnerability in main_sheet_get_sheetfile_expat_callback_element_start() in lib/xlsxio_read.c that allows attackers to crash applications via crafted files. Attackers can supply a .xlsx file whose workbook.xml.rels contains a worksheet Relationship lacking an Id attribute, crashing the process when xlsxioread_sheet_open() is called.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| brechtsanders | xlsxio | ≤ 0.2.37 | — |
References
- https://github.com/brechtsanders/xlsxio/issues/151 issue-tracking
- https://github.com/brechtsanders/xlsxio/blob/0.2.37/lib/xlsxio_read.c#L851-L866 technical-description
- https://hackmd.io/@haind-pwn/xlsxio-relationship-missing-id-null-deref third-party-advisory
- VulnCheck Advisory: xlsxio through 0.2.37 NULL Pointer Dereference via Worksheet Relationship Without Id third-party-advisory