CVE-2017-16844 Memory corruption in n/a

Critical 9.8 Published Updated

Remote attackers can cause denial of service or execute arbitrary code via crafted emails due to a heap-based buffer overflow in procmail.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-16844?

CVE-2017-16844 is a critical memory corruption vulnerability in n/a, published on 16 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Heap-based buffer overflow in the loadbuf function in formisc.c in formail in procmail 3.22 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted e-mail message because of a hardcoded realloc size, a different vulnerability than CVE-2014-3618.

Weakness: CWE-119

Which versions are affected by CVE-2017-16844?

It affects 1 product.

Linux distribution packages (16)
procmail Red Hat:enterprise_linux:7::clientAll versions0:3.22-36.el7_4.1
procmail-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:3.22-36.el7_4.1
procmail Red Hat:enterprise_linux:7::serverAll versions0:3.22-36.el7_4.1
procmail-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:3.22-36.el7_4.1
procmail Red Hat:enterprise_linux:7::workstationAll versions0:3.22-36.el7_4.1
procmail-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:3.22-36.el7_4.1
procmail SUSE:Linux Enterprise Desktop 12 SP2All versions3.22-269.3.5
procmail SUSE:Linux Enterprise Desktop 12 SP3All versions3.22-269.3.5
procmail SUSE:Linux Enterprise Server 11 SP4All versions3.22-240.8.3.1
procmail SUSE:Linux Enterprise Server 12 SP2All versions3.22-269.3.5
procmail SUSE:Linux Enterprise Server 12 SP3All versions3.22-269.3.5
procmail SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions3.22-269.3.5
procmail SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions3.22-240.8.3.1
procmail SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions3.22-269.3.5
procmail SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions3.22-269.3.5
procmail openSUSE:TumbleweedAll versions3.22-277.3

Products include Procmail Procmail.

How do I fix CVE-2017-16844?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-16844 being exploited?

There is no known exploitation of CVE-2017-16844 in the wild and no public exploit code.

Sources

Also known as AZL-36982, AZL-6803, AZL-7332, DEBIAN-CVE-2017-16844, DLA-1173-1, DSA-4041-1 and 7 more.

Is CVE-2017-16844 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free