CVE-2016-8618 Use after free in curl
A double-free vulnerability in libcurl's curl_maprintf function on 32-bit systems allows attackers to cause denial of service or execute arbitrary code.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-8618?
CVE-2016-8618 is a medium-severity use after free vulnerability in Haxx Curl, published on 31 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The libcurl API function called `curl_maprintf()` before version 7.51.0 can be tricked into doing a double-free due to an unsafe `size_t` multiplication, on systems using 32 bit `size_t` variables.
Which versions are affected by CVE-2016-8618?
It affects 1 product.
Products include Haxx Curl.
How do I fix CVE-2016-8618?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2016-8618 being exploited?
There is no known exploitation of CVE-2016-8618 in the wild and no public exploit code.
Other vulnerabilities in Haxx Curl
Sources
Also known as ALPINE-CVE-2016-8618, CLEANSTART-2026-KM83938, CURL-CVE-2016-8618, DEBIAN-CVE-2016-8618, GHSA-36jj-p27h-fh24, UBUNTU-CVE-2016-8618.