CVE-2018-1000300
curl version curl 7.54.1 to and including curl 7.59.0 contains a CWE-122: Heap-based Buffer...
curl version curl 7.54.1 to and including curl 7.59.0 contains a CWE-122: Heap-based Buffer Overflow vulnerability in denial of service and more that can result in curl might overflow a heap based memory buffer when closing down an FTP connection with very long server command replies.. This vulnerability appears to have been fixed in curl < 7.54.1 and curl >= 7.60.0.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
curl version curl 7.54.1 to and including curl 7.59.0 contains a CWE-122: Heap-based Buffer Overflow vulnerability in denial of service and more that can result in curl might overflow a heap based memory buffer when closing down an FTP connection with very long server command replies.. This vulnerability appears to have been fixed in curl < 7.54.1 and curl >= 7.60.0.
- Record
CVE-2018-1000300- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
curl version curl 7.54.1 to and including curl 7.59.0 contains a CWE-122: Heap-based Buffer Overflow vulnerability in denial of service and more that can result in curl might overflow a heap based memory buffer when closing down an FTP connection with very long server command replies.. This vulnerability appears to have been fixed in curl < 7.54.1 and curl >= 7.60.0.
- Record
CVE-2018-1000300- Updated
- 2026-11-02
EUVDEUVD-2018-1895 No score
curl version curl 7.54.1 to and including curl 7.59.0 contains a CWE-122: Heap-based Buffer Overflow vulnerability in denial of service and more that can result in curl might overflow a heap based memory buffer when closing down an FTP connection with very long server command replies.. This vulnerability appears to have been fixed in curl < 7.54.1 and curl >= 7.60.0.
- Record
EUVD-2018-1895- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5vcr-2m3x-3m96
9.8
curl version curl 7.54.1 to and including curl 7.59.0 contains a CWE-122: Heap-based Buffer...
curl version curl 7.54.1 to and including curl 7.59.0 contains a CWE-122: Heap-based Buffer Overflow vulnerability in denial of service and more that can result in curl might overflow a heap based memory buffer when closing down an FTP connection with very long server command replies.. This vulnerability appears to have been fixed in curl < 7.54.1 and curl >= 7.60.0.
- Record
GHSA-5vcr-2m3x-3m96- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2018-1000300
9.8
curl version curl 7.54.1 to and including curl 7.59.0 contains a CWE-122: Heap-based Buffer Overflow vulnerability in denial of service and more that can result in curl might overflow a heap based memory buffer when closing down an FTP connection with very long server command replies.. This vulnerability appears to have been fixed in curl < 7.54.1 and curl >= 7.60.0.
- Record
ALPINE-CVE-2018-1000300- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2018-1000300
9.8
CVE-2018-1000300 does not affect BellSoft software
- Record
BELL-CVE-2018-1000300- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSV
9.8
curl version curl 7.54.1 to and including curl 7.59.0 contains a CWE-122: Heap-based Buffer Overflow vulnerability in denial of service and more that can result in curl might overflow a heap based memory buffer when closing down an FTP connection with very long server command replies.. This vulnerability appears to have been fixed in curl < 7.54.1 and curl >= 7.60.0.
- Record
CVE-2018-1000300- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-1000300
9.8
curl version curl 7.54.1 to and including curl 7.59.0 contains a CWE-122: Heap-based Buffer Overflow vulnerability in denial of service and more that can result in curl might overflow a heap based memory buffer when closing down an FTP connection with very long server command replies.. This vulnerability appears to have been fixed in curl < 7.54.1 and curl >= 7.60.0.
- Record
DEBIAN-CVE-2018-1000300- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-1000300
9.8
curl version curl 7.54.1 to and including curl 7.59.0 contains a CWE-122: Heap-based Buffer Overflow vulnerability in denial of service and more that can result in curl might overflow a heap based memory buffer when closing down an FTP connection with very long server command replies.. This vulnerability appears to have been fixed in curl < 7.54.1 and curl >= 7.60.0.
- Record
UBUNTU-CVE-2018-1000300- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVCURL-CVE-2018-1000300 No score
FTP shutdown response buffer overflow
curl might overflow a heap based memory buffer when closing down an FTP connection with long server command replies.
When doing FTP transfers, curl keeps a spare "closure handle" around internally that is used when an FTP connection gets shut down since the original curl easy handle is then already removed.
FTP server response data that gets cached from the original transfer might then be larger than the default buffer size (16 KB) allocated in the "closure handle", which can lead to a buffer overwrite. The contents and size of that overwrite is controllable by the server.
This situation was detected by an assert() in the code, but that was of course only preventing bad stuff in debug builds. This bug is highly unlikely to trigger with non-malicious servers.
- Record
CURL-CVE-2018-1000300- Updated
- 2026-11-02
OSVMGASA-2018-0423 No score
Updated curl packages fix security vulnerabilities
Updated curl packages fix security vulnerabilities:
Peter Wu discovered that curl incorrectly handled certain SMTP buffers. A remote attacker could use this issue to cause curl to crash, resulting in a denial of service, or possibly execute arbitrary code (CVE-2018-0500).
Zhaoyang Wu discovered that cURL, an URL transfer library, contains a buffer overflow in the NTLM authentication code triggered by passwords that exceed 2GB in length on 32bit systems (CVE-2018-14618).
Phan Thanh discovered that curl incorrectly handled certain FTP paths. An attacker could use this to cause a denial of service or possibly execute arbitrary code (CVE-2018-1000120).
Dario Weisser discovered that curl incorrectly handled certain LDAP URLs. An attacker could possibly use this issue to cause a denial of service (CVE-2018-1000121).
Max Dymond discovered that curl incorrectly handled certain RTSP data. An attacker could possibly use this to cause a denial of service or even to get access to sensitive data (CVE-2018-1000122).
A heap-based buffer overflow can happen when closing down an FTP connection with very long server command replies. When doing FTP transfers, curl keeps a spare "closure handle" around internally that will be used when an FTP connection gets shut down since the original curl easy handle is then already removed. FTP server response data that gets cached from the original transfer might then be larger than the default buffer size (16 KB) allocated in the "closure handle", which can lead to a buffer overwrite. The contents and size of that overwrite is controllable by the server (CVE-2018-1000300).
curl can be tricked into reading data beyond the end of a heap based buffer used to store downloaded content. When servers send RTSP responses back to curl, the data starts out with a set of headers. curl parses that data to separate it into a number of headers to deal with those appropriately and to find the end of the headers that signal the start of the "body" part. The function that splits up the response into headers is called "Curl_http_readwrite_headers()" and in situations where it can't find a single header in the buffer, it might end up leaving a pointer pointing into the buffer instead of to the start of the buffer which then later on may lead to an out of buffer read when code assumes that pointer points to a full buffer size worth of memory to use. This could potentially lead to information leakage but most likely a crash/denial of service for applications if a server triggers this flaw (CVE-2018-1000301).
- Record
MGASA-2018-0423- 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
OSVUSN-3648-1 No score
curl vulnerabilities
Dario Weisser discovered that curl incorrectly handled long FTP server command replies. If a user or automated system were tricked into connecting to a malicious FTP server, 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 affected Ubuntu 17.10 and Ubuntu 18.04 LTS. (CVE-2018-1000300)
Max Dymond discovered that curl incorrectly handled certain RTSP responses. If a user or automated system were tricked into connecting to a malicious server, a remote attacker could use this issue to cause curl to crash, resulting in a denial of service, or possibly obtain sensitive information. (CVE-2018-1000301)
- Record
USN-3648-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
curlAlpine:v3.10 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.11 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.12 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.13 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.14 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.15 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.16 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.17 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.18 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.19 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
Show 20 moreShow less
| Package | Affected | Fixed |
|---|---|---|
curlAlpine:v3.20 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.21 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.22 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.23 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.24 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.4 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.5 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.6 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.7 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.8 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlAlpine:v3.9 |
7.54.1 up to 7.60.0-r0 | 7.60.0-r0 |
curlDebian:12 |
before 7.60.0-1 | 7.60.0-1 |
curlDebian:13 |
before 7.60.0-1 | 7.60.0-1 |
curlDebian:14 |
before 7.60.0-1 | 7.60.0-1 |
curlMageia:6 From an advisory covering 7 CVEs |
before 7.54.1-2.7.mga6 | 7.54.1-2.7.mga6 |
curlUbuntu:18.04:LTS |
before 7.58.0-2ubuntu3.1, plus listed versions 7.55.1-1ubuntu27.55.1-1ubuntu2.17.57.0-1ubuntu17.58.0-2ubuntu17.58.0-2ubuntu27.58.0-2ubuntu3 |
7.58.0-2ubuntu3.1 |
curlUbuntu:14.04:LTS From an advisory covering 2 CVEs |
before 7.35.0-1ubuntu2.16, plus listed versions 7.32.0-1ubuntu17.33.0-1ubuntu17.34.0-1ubuntu17.35.0-1ubuntu17.35.0-1ubuntu2 Show 14 moreShow less7.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.15 |
7.35.0-1ubuntu2.16 |
curlUbuntu:16.04:LTS From an advisory covering 2 CVEs |
before 7.47.0-1ubuntu2.8, plus listed versions 7.43.0-1ubuntu27.45.0-1ubuntu17.46.0-1ubuntu17.47.0-1ubuntu17.47.0-1ubuntu2 Show 7 moreShow less7.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.7 |
7.47.0-1ubuntu2.8 |
curlUbuntu:18.04:LTS From an advisory covering 2 CVEs |
before 7.58.0-2ubuntu3.1, plus listed versions 7.55.1-1ubuntu27.55.1-1ubuntu2.17.57.0-1ubuntu17.58.0-2ubuntu17.58.0-2ubuntu27.58.0-2ubuntu3 |
7.58.0-2ubuntu3.1 |
curlopenSUSE:Tumbleweed From an advisory covering 48 CVEs |
before 7.79.1-1.1 | 7.79.1-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-1000300 is a critical vulnerability (CVSS 9.8) in Haxx Curl, published May 16, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.62%, the 91st percentile. Fixed in curl 7.60.0-r0.
References
oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
curl.haxx.se/docs/adv_2018-82c2.html
security.gentoo.org/glsa/201806-05
oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
usn.ubuntu.com/3648-1
Show 71 moreShow less
securityfocus.com/bid/104207
securitytracker.com/id/1040933
nvd.nist.gov/vuln/detail/CVE-2018-1000300
github.com/advisories/GHSA-5vcr-2m3x-3m96
security.alpinelinux.org/vuln/CVE-2018-1000300
docs.bell-sw.com/security/cves/CVE-2018-1000300
security-tracker.debian.org/tracker/CVE-2018-1000300
advisories.mageia.org/MGASA-2018-0423.html
bugs.mageia.org/show_bug.cgi?id=22772
curl.haxx.se/docs/adv_2018-9cd6.html
curl.haxx.se/docs/adv_2018-97a2.html
curl.haxx.se/docs/adv_2018-b047.html
curl.haxx.se/docs/adv_2018-b138.html
curl.haxx.se/docs/adv_2018-70a2.html
curl.haxx.se/docs/CVE-2018-14618.html
usn.ubuntu.com/3598-1
lists.fedoraproject.org/archives/list/[email protected]/thread/DOHQJ7DDUE5U4L6FHSUVPFQ7TAZLWSMI
usn.ubuntu.com/3710-1
debian.org/security/2018/dsa-4286
ubuntu.com/security/CVE-2018-1000300
ubuntu.com/security/notices/USN-3648-1
cve.org/CVERecord?id=CVE-2018-1000300
ubuntu.com/security/CVE-2018-1000301
suse.com/security/cve/CVE-2006-1061
suse.com/security/cve/CVE-2016-9586
suse.com/security/cve/CVE-2016-9594
suse.com/security/cve/CVE-2017-1000099
suse.com/security/cve/CVE-2017-1000100
suse.com/security/cve/CVE-2017-1000101
suse.com/security/cve/CVE-2017-1000254
suse.com/security/cve/CVE-2017-1000257
suse.com/security/cve/CVE-2017-2629
suse.com/security/cve/CVE-2017-7468
suse.com/security/cve/CVE-2017-8816
suse.com/security/cve/CVE-2017-8817
suse.com/security/cve/CVE-2017-8818
suse.com/security/cve/CVE-2017-9502
suse.com/security/cve/CVE-2018-0500
suse.com/security/cve/CVE-2018-1000005
suse.com/security/cve/CVE-2018-1000120
suse.com/security/cve/CVE-2018-1000122
suse.com/security/cve/CVE-2018-1000300
suse.com/security/cve/CVE-2018-1000301
suse.com/security/cve/CVE-2018-14618
suse.com/security/cve/CVE-2018-16839
suse.com/security/cve/CVE-2018-16840
suse.com/security/cve/CVE-2018-16842
suse.com/security/cve/CVE-2018-16890
suse.com/security/cve/CVE-2019-15601
suse.com/security/cve/CVE-2019-3822
suse.com/security/cve/CVE-2019-3823
suse.com/security/cve/CVE-2019-5435
suse.com/security/cve/CVE-2019-5436
suse.com/security/cve/CVE-2019-5481
suse.com/security/cve/CVE-2019-5482
suse.com/security/cve/CVE-2020-8169
suse.com/security/cve/CVE-2020-8231
suse.com/security/cve/CVE-2020-8284
suse.com/security/cve/CVE-2020-8285
suse.com/security/cve/CVE-2020-8286
suse.com/security/cve/CVE-2021-22297
suse.com/security/cve/CVE-2021-22298
suse.com/security/cve/CVE-2021-22876
suse.com/security/cve/CVE-2021-22890
suse.com/security/cve/CVE-2021-22898
suse.com/security/cve/CVE-2021-22901
suse.com/security/cve/CVE-2021-22922
suse.com/security/cve/CVE-2021-22924
suse.com/security/cve/CVE-2021-22945
suse.com/security/cve/CVE-2021-22946
suse.com/security/cve/CVE-2021-22947