CVE-2019-3823 Memory corruption in curl
A heap out-of-bounds read in libcurl's SMTP handling can cause a denial of service when processing malformed responses.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-3823?
CVE-2019-3823 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 6 Feb 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
libcurl versions from 7.34.0 to before 7.64.0 are vulnerable to a heap out-of-bounds read in the code handling the end-of-response for SMTP. If the buffer passed to `smtp_endofresp()` isn't NUL terminated and contains no character ending the parsed number, and `len` is set to 5, then the `strtol()` call reads beyond the allocated buffer. The read contents will not be returned to the caller.
Weakness: CWE-125
Which versions are affected by CVE-2019-3823?
It affects 7 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Haxx Libcurl, Netapp Clustered Data Ontap, Oracle Communications Operations Monitor, Oracle Http Server and 1 more.
How do I fix CVE-2019-3823?
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-2019-3823 being exploited?
There is no known exploitation of CVE-2019-3823 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2019-3823, CLEANSTART-2026-PX12484, CURL-CVE-2019-3823, DEBIAN-CVE-2019-3823, GHSA-xmjh-hmw3-hqhr, UBUNTU-CVE-2019-3823.