CVE-2018-0500 Memory corruption in curl before 7.61.0

Critical 9.8 Published Updated

Heap-based buffer overflow in curl's SMTP handling allows attackers to execute code or cause denial of service when nonstandard buffer settings are used.

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

What is CVE-2018-0500?

CVE-2018-0500 is a critical memory corruption vulnerability in Canonical Ubuntu Linux, published on 11 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Curl_smtp_escape_eob in lib/smtp.c in curl 7.54.1 to and including curl 7.60.0 has a heap-based buffer overflow that might be exploitable by an attacker who can control the data that curl transmits over SMTP with certain settings (i.e., use of a nonstandard --limit-rate argument or CURLOPT_BUFFERSIZE value).

Weakness: CWE-787

Which versions are affected by CVE-2018-0500?

It affects 2 products.

Linux distribution packages (1)
curl SUSE:Linux Enterprise Module for Basesystem 15All versions7.60.0-3.6.4

Products include Canonical Ubuntu Linux, Haxx Curl.

How do I fix CVE-2018-0500?

Upgrade to a fixed version.

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

Is CVE-2018-0500 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-0500, CLEANSTART-2026-OO33061, CURL-CVE-2018-0500, DEBIAN-CVE-2018-0500, GHSA-rg4c-f6cj-x9w8, SUSE-SU-2018:2423-1 and 2 more.

Is CVE-2018-0500 in your software?

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

Check your SBOMs for free