CVE-2018-16890 Integer overflow in curl
A malicious NTLM server can trigger an integer overflow in libcurl, leading to an out-of-bounds read that may disclose memory or cause a crash.
- 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-2018-16890?
CVE-2018-16890 is a medium-severity 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.36.0 to before 7.64.0 is vulnerable to a heap buffer out-of-bounds read. The function handling incoming NTLM type-2 messages (`lib/vauth/ntlm.c:ntlm_decode_type2_target`) does not validate incoming data correctly and is subject to an integer overflow vulnerability. Using that overflow, a malicious or broken NTLM server could trick libcurl to accept a bad length + offset combination that would lead to a buffer read out-of-bounds.
Which versions are affected by CVE-2018-16890?
It affects 10 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, F5 Big-Ip Access Policy Manager, Haxx Libcurl, Netapp Clustered Data Ontap, Oracle Communications Operations Monitor and 4 more.
How do I fix CVE-2018-16890?
Upgrade to a fixed version.
Is CVE-2018-16890 being exploited?
There is no known exploitation of CVE-2018-16890 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2018-16890, CLEANSTART-2026-OR86338, CURL-CVE-2018-16890, DEBIAN-CVE-2018-16890, GHSA-53fg-3j53-939q, UBUNTU-CVE-2018-16890.