nse_libssh2.cc in Nmap 7.70 is subject to a denial of service condition due to a double free when an SSH connection fails, as demonstrated by a leading \n character to ssh-brute.nse or ssh-auth-methods.nse.
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-18594.json"