Skip to content
OpenAdvisories
Medium · 5.4 Public exploit CVE-2018-16890 EUVD-2018-8678GHSA-53fg-3j53-939q

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…

Published Feb 6, 2019 · Updated Apr 15, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
The curl Project curl 7.64.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl 7.64.0-1 —
Debian 13 curl 7.64.0-1 —
Debian 12 curl 7.64.0-1 —
Debian 9 curl 7.52.1-5+deb9u9 DSA-4386-1
Debian 8 curl 7.38.0-4+deb8u14 DLA-1672-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS curl 7.58.0-2ubuntu3.6 USN-3882-1
Ubuntu 16.04 LTS curl 7.47.0-1ubuntu2.12 USN-3882-1
Ubuntu 14.04 LTS curl 7.35.0-1ubuntu2.20 USN-3882-1
ReleasePackageFixed inAdvisory
RHEL 8 curl +3 7.61.1-11.el8 RHSA-2019:3701
ReleasePackageFixed inAdvisory
SLES 15 curl 7.60.0-3.17.1 SUSE-SU-2019:0248-1
SLES 12 SP4 curl 7.60.0-4.3.1 SUSE-SU-2019:0339-1
SLES 12 SP3 curl 7.37.0-37.34.1 SUSE-SU-2019:0249-1
SLES 12 SP2 curl 7.37.0-37.34.1 SUSE-SU-2019:0249-1
SLES 12 SP1 curl 7.37.0-37.34.1 SUSE-SU-2019:0249-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 curl 7.37.0-37.34.1 SUSE-SU-2019:0249-1
SLES for SAP 12 SP4 curl 7.60.0-4.3.1 SUSE-SU-2019:0339-1
SLES for SAP 12 SP3 curl 7.37.0-37.34.1 SUSE-SU-2019:0249-1
SLES for SAP 12 SP2 curl 7.37.0-37.34.1 SUSE-SU-2019:0249-1
SLES for SAP 12 SP1 curl 7.37.0-37.34.1 SUSE-SU-2019:0249-2
SUSE OpenStack Cloud 7 curl 7.37.0-37.34.1 SUSE-SU-2019:0249-1
SUSE Enterprise Storage 4 curl 7.37.0-37.34.1 SUSE-SU-2019:0249-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 7.79.1-1.1 openSUSE-SU-2024:10582-1
openSUSE Leap 15.0 curl +1 7.60.0-lp150.2.18.1 openSUSE-SU-2019:0174-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 7.64.0-r0 —
Alpine v3.23 curl 7.64.0-r0 —
Alpine v3.22 curl 7.64.0-r0 —
Alpine v3.21 curl 7.64.0-r0 —
Alpine v3.20 curl 7.64.0-r0 —
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 curl 7.64.0-r0 —
Alpine v3.18 curl 7.64.0-r0 —
Alpine v3.17 curl 7.64.0-r0 —
Alpine v3.16 curl 7.64.0-r0 —
Alpine v3.15 curl 7.64.0-r0 —
Alpine v3.14 curl 7.64.0-r0 —
Alpine v3.13 curl 7.64.0-r0 —
Alpine v3.12 curl 7.64.0-r0 —
Alpine v3.11 curl 7.64.0-r0 —
Alpine v3.10 curl 7.64.0-r0 —
Alpine v3.8 curl 7.61.1-r2 —
Alpine v3.7 curl 7.61.1-r2 —
Alpine v3.6 curl 7.61.1-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 curl +2 7.61.1-9.amzn2.0.1 ALAS2-2019-1162

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 curl +3 7.61.1-11.el8 ELSA-2019-3701

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 18

References