CVE-2018-1000300
highpriority · track · 41EPSS 0.047 · 92 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (11)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- CURL-CVE-2018-1000300FTP shutdown response buffer overflow2018-05-16vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (26)
External citations — patches, advisories, analysis.
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.htmlcnnvd
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.htmlcnnvd
- http://www.securityfocus.com/bid/104207cnnvd
- http://www.securitytracker.com/id/1040933cnnvd
- https://curl.haxx.se/docs/adv_2018-82c2.htmlcnnvd
- https://security.gentoo.org/glsa/201806-05cnnvd
- https://usn.ubuntu.com/3648-1/cnnvd
- https://www.ibm.com/support/pages/node/1143490cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan