Heap-based buffer overflow in Procmail - CVE-2017-16844
Published: November 21, 2017 / Updated: April 14, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to boundary error in the loadbuf() function in formisc.c in formail in procmail 3.22. A remote attacker can execute arbitrary code on the target system via a specially crafted e-mail message because of a hardcoded realloc size.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Debian Linux
Arch Linux
Amazon Linux AMI
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power
Ubuntu