Every CVE Search/ Get API key

CVE-2018-16890

libcurl versions from 7.36.0 to before 7.64.0 is vulnerable to a heap buffer out-of-bounds read....

5.4 MediumPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
Low

Exploit likelihood

5.35%Down 5.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 5.4

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.

Record
CVE-2018-16890
CVSS 3.0
5.4 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
Weakness
CWE-125
Updated
2026-11-02
EUVDEUVD-2018-8678 5.4

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.

Record
EUVD-2018-8678
CVSS 3.0
5.4 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
Updated
2026-11-02
GitHub AdvisoriesGHSA-53fg-3j53-939q 7.5

libcurl versions from 7.36.0 to before 7.64.0 is vulnerable to a heap buffer out-of-bounds read....

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.

Record
GHSA-53fg-3j53-939q
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
NVD 7.5

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.

Record
CVE-2018-16890
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.0
5.4 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-125, CWE-190
Updated
2026-11-02
OSVALPINE-CVE-2018-16890 7.5

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.

Record
ALPINE-CVE-2018-16890
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBELL-CVE-2018-16890 7.5

CVE-2018-16890 does not affect BellSoft software

Record
BELL-CVE-2018-16890
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 12 moreShow less
OSV 7.5

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.

Record
CVE-2018-16890
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-16890 7.5

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.

Record
DEBIAN-CVE-2018-16890
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2019:3701 5.5

Red Hat Security Advisory: curl security and bug fix update

Record
RHSA-2019:3701
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2018-16890 7.5

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.

Record
UBUNTU-CVE-2018-16890
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.0
5.4 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVCURL-CVE-2018-16890 No score

NTLM type-2 out-of-bounds buffer read

libcurl contains a heap buffer out-of-bounds read flaw.

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.

Record
CURL-CVE-2018-16890
Updated
2026-11-02
OSVopenSUSE-SU-2019:0174-1 No score

Security update for curl

This update for curl fixes the following issues:

Security issues fixed:

  • CVE-2019-3823: Fixed a heap out-of-bounds read in the code handling the end-of-response for SMTP (bsc#1123378).
  • CVE-2019-3822: Fixed a stack based buffer overflow in the function creating an outgoing NTLM type-3 message (bsc#1123377).
  • CVE-2018-16890: Fixed a heap buffer out-of-bounds read in the function handling incoming NTLM type-2 messages (bsc#1123371).

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2019:0174-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10582-1 No score

curl-7.79.1-1.1 on GA media

These are all security issues fixed in the curl-7.79.1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10582-1
Updated
2026-11-02
OSVSUSE-SU-2019:0248-1 No score

Security update for curl

This update for curl fixes the following issues:

Security issues fixed:

  • CVE-2019-3823: Fixed a heap out-of-bounds read in the code handling the end-of-response for SMTP (bsc#1123378).
  • CVE-2019-3822: Fixed a stack based buffer overflow in the function creating an outgoing NTLM type-3 message (bsc#1123377).
  • CVE-2018-16890: Fixed a heap buffer out-of-bounds read in the function handling incoming NTLM type-2 messages (bsc#1123371).
Record
SUSE-SU-2019:0248-1
Updated
2026-11-02
OSVSUSE-SU-2019:0249-1 No score

Security update for curl

This update for curl fixes the following issues:

Security issues fixed:

  • CVE-2019-3823: Fixed a heap out-of-bounds read in the code handling the end-of-response for SMTP (bsc#1123378).
  • CVE-2019-3822: Fixed a stack based buffer overflow in the function creating an outgoing NTLM type-3 message (bsc#1123377).
  • CVE-2018-16890: Fixed a heap buffer out-of-bounds read in the function handling incoming NTLM type-2 messages (bsc#1123371).
Record
SUSE-SU-2019:0249-1
Updated
2026-11-02
OSVSUSE-SU-2019:0249-2 No score

Security update for curl

This update for curl fixes the following issues:

Security issues fixed:

  • CVE-2019-3823: Fixed a heap out-of-bounds read in the code handling the end-of-response for SMTP (bsc#1123378).
  • CVE-2019-3822: Fixed a stack based buffer overflow in the function creating an outgoing NTLM type-3 message (bsc#1123377).
  • CVE-2018-16890: Fixed a heap buffer out-of-bounds read in the function handling incoming NTLM type-2 messages (bsc#1123371).
Record
SUSE-SU-2019:0249-2
Updated
2026-11-02
OSVSUSE-SU-2019:0339-1 No score

Security update for curl

This update for curl fixes the following issues:

Security issues fixed:

  • CVE-2019-3822: Fixed a NTLMv2 type-3 header stack buffer overflow (bsc#1123377).
  • CVE-2019-3823: Fixed an out-of-bounds read in the SMTP end-of-response (bsc#1123378).
  • CVE-2018-16890: Fixed an out-of-bounds buffer read in NTLM type2 (bsc#1123371).
  • CVE-2018-16842: Fixed an out-of-bounds read in tool_msgs.c (bsc#1113660).
  • CVE-2018-16840: Fixed a use-after-free in handle close (bsc#1113029).
  • CVE-2018-16839: Fixed an SASL password overflow caused by an integer overflow (bsc#1112758).
Record
SUSE-SU-2019:0339-1
Updated
2026-11-02
OSVUSN-3882-1 No score

curl vulnerabilities

Wenxiang Qian discovered that curl incorrectly handled certain NTLM authentication messages. A remote attacker could possibly use this issue to cause curl to crash, resulting in a denial of service. This issue only applied to Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 18.10. (CVE-2018-16890)

Wenxiang Qian discovered that curl incorrectly handled certain NTLMv2 authentication messages. A remote attacker could use this issue to cause curl to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only applied to Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 18.10. (CVE-2019-3822)

Brian Carpenter discovered that curl incorrectly handled certain SMTP responses. A remote attacker could possibly use this issue to cause curl to crash, resulting in a denial of service. (CVE-2019-3823)

Record
USN-3882-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
curl
Alpine:v3.10
before 7.64.0-r0
7.64.0-r0
curl
Alpine:v3.11
before 7.64.0-r0
7.64.0-r0
curl
Alpine:v3.12
before 7.64.0-r0
7.64.0-r0
curl
Alpine:v3.13
before 7.64.0-r0
7.64.0-r0
curl
Alpine:v3.14
before 7.64.0-r0
7.64.0-r0
curl
Alpine:v3.15
before 7.64.0-r0
7.64.0-r0
curl
Alpine:v3.16
before 7.64.0-r0
7.64.0-r0
curl
Alpine:v3.17
before 7.64.0-r0
7.64.0-r0
curl
Alpine:v3.18
before 7.64.0-r0
7.64.0-r0
curl
Alpine:v3.19
before 7.64.0-r0
7.64.0-r0
Show 47 moreShow less
Affected packages
PackageAffectedFixed
curl
Alpine:v3.20
before 7.64.0-r0
7.64.0-r0
curl
Alpine:v3.21
before 7.64.0-r0
7.64.0-r0
curl
Alpine:v3.22
before 7.64.0-r0
7.64.0-r0
curl
Alpine:v3.23
before 7.64.0-r0
7.64.0-r0
curl
Alpine:v3.24
before 7.64.0-r0
7.64.0-r0
curl
Alpine:v3.6
before 7.61.1-r2
7.61.1-r2
curl
Alpine:v3.7
before 7.61.1-r2
7.61.1-r2
curl
Alpine:v3.8
before 7.61.1-r2
7.61.1-r2
curl
Debian:12
before 7.64.0-1
7.64.0-1
curl
Debian:13
before 7.64.0-1
7.64.0-1
curl
Debian:14
before 7.64.0-1
7.64.0-1
curl
Debian:8
From an advisory covering 3 CVEs
before 7.38.0-4+deb8u14, plus listed versions
7.38.0-47.38.0-4+deb8u17.38.0-4+deb8u107.38.0-4+deb8u117.38.0-4+deb8u12
Show 9 moreShow less
7.38.0-4+deb8u137.38.0-4+deb8u27.38.0-4+deb8u37.38.0-4+deb8u47.38.0-4+deb8u57.38.0-4+deb8u67.38.0-4+deb8u77.38.0-4+deb8u87.38.0-4+deb8u9
7.38.0-4+deb8u14
curl
Debian:9
From an advisory covering 3 CVEs
before 7.52.1-5+deb9u9, plus listed versions
7.52.1-57.52.1-5+deb9u17.52.1-5+deb9u27.52.1-5+deb9u37.52.1-5+deb9u4
Show 4 moreShow less
7.52.1-5+deb9u57.52.1-5+deb9u67.52.1-5+deb9u77.52.1-5+deb9u8
7.52.1-5+deb9u9
curl
Red Hat:enterprise_linux:8::baseos
From an advisory covering 4 CVEs
before 0:7.61.1-11.el8
0:7.61.1-11.el8
curl-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 4 CVEs
before 0:7.61.1-11.el8
0:7.61.1-11.el8
curl-debugsource
Red Hat:enterprise_linux:8::baseos
From an advisory covering 4 CVEs
before 0:7.61.1-11.el8
0:7.61.1-11.el8
curl-minimal-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 4 CVEs
before 0:7.61.1-11.el8
0:7.61.1-11.el8
libcurl
Red Hat:enterprise_linux:8::baseos
From an advisory covering 4 CVEs
before 0:7.61.1-11.el8
0:7.61.1-11.el8
libcurl-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 4 CVEs
before 0:7.61.1-11.el8
0:7.61.1-11.el8
libcurl-devel
Red Hat:enterprise_linux:8::baseos
From an advisory covering 4 CVEs
before 0:7.61.1-11.el8
0:7.61.1-11.el8
libcurl-minimal
Red Hat:enterprise_linux:8::baseos
From an advisory covering 4 CVEs
before 0:7.61.1-11.el8
0:7.61.1-11.el8
libcurl-minimal-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 4 CVEs
before 0:7.61.1-11.el8
0:7.61.1-11.el8
curl
SUSE:Linux Enterprise Module for Basesystem 15
From an advisory covering 3 CVEs
before 7.60.0-3.17.1
7.60.0-3.17.1
curl
SUSE:OpenStack Cloud 7
From an advisory covering 3 CVEs
before 7.37.0-37.34.1
7.37.0-37.34.1
curl
SUSE:Linux Enterprise Desktop 12 SP3
From an advisory covering 3 CVEs
before 7.37.0-37.34.1
7.37.0-37.34.1
curl
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
From an advisory covering 3 CVEs
before 7.37.0-37.34.1
7.37.0-37.34.1
curl
SUSE:Linux Enterprise Software Development Kit 12 SP3
From an advisory covering 3 CVEs
before 7.37.0-37.34.1
7.37.0-37.34.1
curl
SUSE:Linux Enterprise Server 12-LTSS
From an advisory covering 3 CVEs
before 7.37.0-37.34.1
7.37.0-37.34.1
curl
SUSE:Linux Enterprise Server 12 SP1-LTSS
From an advisory covering 3 CVEs
before 7.37.0-37.34.1
7.37.0-37.34.1
curl
SUSE:Linux Enterprise Server 12 SP2-LTSS
From an advisory covering 3 CVEs
before 7.37.0-37.34.1
7.37.0-37.34.1
curl
SUSE:Linux Enterprise Server 12 SP2-BCL
From an advisory covering 3 CVEs
before 7.37.0-37.34.1
7.37.0-37.34.1
curl
SUSE:Linux Enterprise Server 12 SP3
From an advisory covering 3 CVEs
before 7.37.0-37.34.1
7.37.0-37.34.1
curl
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 3 CVEs
before 7.37.0-37.34.1
7.37.0-37.34.1
curl
SUSE:Enterprise Storage 4
From an advisory covering 3 CVEs
before 7.37.0-37.34.1
7.37.0-37.34.1
curl
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
From an advisory covering 3 CVEs
before 7.37.0-37.34.1
7.37.0-37.34.1
curl
SUSE:Linux Enterprise Desktop 12 SP4
From an advisory covering 6 CVEs
before 7.60.0-4.3.1
7.60.0-4.3.1
curl
SUSE:Linux Enterprise Software Development Kit 12 SP4
From an advisory covering 6 CVEs
before 7.60.0-4.3.1
7.60.0-4.3.1
curl
SUSE:Linux Enterprise Server 12 SP4
From an advisory covering 6 CVEs
before 7.60.0-4.3.1
7.60.0-4.3.1
curl
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
From an advisory covering 6 CVEs
before 7.60.0-4.3.1
7.60.0-4.3.1
curl
Ubuntu:16.04:LTS
before 7.47.0-1ubuntu2.12, plus listed versions
7.43.0-1ubuntu27.45.0-1ubuntu17.46.0-1ubuntu17.47.0-1ubuntu17.47.0-1ubuntu2
Show 10 moreShow less
7.47.0-1ubuntu2.17.47.0-1ubuntu2.27.47.0-1ubuntu2.37.47.0-1ubuntu2.47.47.0-1ubuntu2.57.47.0-1ubuntu2.67.47.0-1ubuntu2.77.47.0-1ubuntu2.87.47.0-1ubuntu2.97.47.0-1ubuntu2.11
7.47.0-1ubuntu2.12
curl
Ubuntu:18.04:LTS
before 7.58.0-2ubuntu3.6, plus listed versions
7.55.1-1ubuntu27.55.1-1ubuntu2.17.57.0-1ubuntu17.58.0-2ubuntu17.58.0-2ubuntu2
Show 5 moreShow less
7.58.0-2ubuntu37.58.0-2ubuntu3.17.58.0-2ubuntu3.27.58.0-2ubuntu3.37.58.0-2ubuntu3.5
7.58.0-2ubuntu3.6
curl
Ubuntu:14.04:LTS
From an advisory covering 3 CVEs
before 7.35.0-1ubuntu2.20, plus listed versions
7.32.0-1ubuntu17.33.0-1ubuntu17.34.0-1ubuntu17.35.0-1ubuntu17.35.0-1ubuntu2
Show 17 moreShow less
7.35.0-1ubuntu2.17.35.0-1ubuntu2.27.35.0-1ubuntu2.37.35.0-1ubuntu2.57.35.0-1ubuntu2.67.35.0-1ubuntu2.77.35.0-1ubuntu2.87.35.0-1ubuntu2.97.35.0-1ubuntu2.107.35.0-1ubuntu2.117.35.0-1ubuntu2.127.35.0-1ubuntu2.137.35.0-1ubuntu2.147.35.0-1ubuntu2.157.35.0-1ubuntu2.167.35.0-1ubuntu2.177.35.0-1ubuntu2.19
7.35.0-1ubuntu2.20
curl
Ubuntu:16.04:LTS
From an advisory covering 3 CVEs
before 7.47.0-1ubuntu2.12, plus listed versions
7.43.0-1ubuntu27.45.0-1ubuntu17.46.0-1ubuntu17.47.0-1ubuntu17.47.0-1ubuntu2
Show 10 moreShow less
7.47.0-1ubuntu2.17.47.0-1ubuntu2.27.47.0-1ubuntu2.37.47.0-1ubuntu2.47.47.0-1ubuntu2.57.47.0-1ubuntu2.67.47.0-1ubuntu2.77.47.0-1ubuntu2.87.47.0-1ubuntu2.97.47.0-1ubuntu2.11
7.47.0-1ubuntu2.12
curl
Ubuntu:18.04:LTS
From an advisory covering 3 CVEs
before 7.58.0-2ubuntu3.6, plus listed versions
7.55.1-1ubuntu27.55.1-1ubuntu2.17.57.0-1ubuntu17.58.0-2ubuntu17.58.0-2ubuntu2
Show 5 moreShow less
7.58.0-2ubuntu37.58.0-2ubuntu3.17.58.0-2ubuntu3.27.58.0-2ubuntu3.37.58.0-2ubuntu3.5
7.58.0-2ubuntu3.6
curl
openSUSE:Leap 15.0
From an advisory covering 3 CVEs
before 7.60.0-lp150.2.18.1
7.60.0-lp150.2.18.1
curl-mini
openSUSE:Leap 15.0
From an advisory covering 3 CVEs
before 7.60.0-lp150.2.18.1
7.60.0-lp150.2.18.1
curl
openSUSE:Tumbleweed
From an advisory covering 48 CVEs
before 7.79.1-1.1
7.79.1-1.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubmichelleamesquita/CVE-2018-168902020-04-07

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-16890 is a medium vulnerability (CVSS 5.4) in Curl, published February 6, 2019. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 5.35%, the 92nd percentile. Fixed in curl 7.64.0-r0.

References

Show 98 moreShow less
MoveEnter Open