Security fixes
- CVE-2026-137726: Path traversal with
--use-pathsallowed writing files outside the extraction directory. - CVE-2026-137727: Heap out-of-bounds read when printing the MAPI MIME tag and content ID.
- CVE-2026-137728: Heap out-of-bounds read with a single-character
--body-prefargument. - Fix out-of-bounds read in
get_rtf_data_from_buf()(#54). - Fix buffer overflow in
find_free_number()(#53).
All versions up to and including 1.4.18 are affected. Thanks to Julien Ahrens (RCE Security GmbH) for reporting the three CVE issues and verifying the fixes.
Other changes
- Escape non-ASCII attachment filenames for filesystem safety (#51).
- Allocate filename and MIME type for each body separately (#56).
- Handle missing
index/rindexfunctions (MinGW compatibility) (#43). - Build and CI updates: refreshed autotools setup, moved from Travis to GitHub Actions, added ppc64le build.