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.
https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
https://usn.ubuntu.com/3648-1/
https://security.gentoo.org/glsa/201806-05
https://curl.haxx.se/docs/adv_2018-82c2.html
http://www.securitytracker.com/id/1040933
http://www.securityfocus.com/bid/104207
http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html