github verdammelt/tnef 1.5.0

35 minutes ago

Security fixes

  • CVE-2026-137726: Path traversal with --use-paths allowed 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-pref argument.
  • 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/rindex functions (MinGW compatibility) (#43).
  • Build and CI updates: refreshed autotools setup, moved from Travis to GitHub Actions, added ppc64le build.

Don't miss a new tnef release

NewReleases is sending notifications on new releases.