{"id":"CVE-2018-0500","details":"Curl_smtp_escape_eob in lib/smtp.c in curl 7.54.1 to and including curl 7.60.0 has a heap-based buffer overflow that might be exploitable by an attacker who can control the data that curl transmits over SMTP with certain settings (i.e., use of a nonstandard --limit-rate argument or CURLOPT_BUFFERSIZE value).","aliases":["CURL-CVE-2018-0500"],"modified":"2026-07-08T12:28:29.787052Z","published":"2018-07-11T13:29:00.317Z","related":["SUSE-SU-2018:2423-1","openSUSE-SU-2024:10582-1"],"database_specific":{"unresolved_ranges":[{"vendor_product":"canonical:ubuntu_linux","cpes":["cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"],"extracted_events":[{"introduced":"17.10"},{"last_affected":"17.10"},{"introduced":"18.04"},{"last_affected":"18.04"}],"source":"CPE_STRING"}]},"references":[{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1041280"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2486"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201807-04"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3710-1/"},{"type":"FIX","url":"https://curl.haxx.se/docs/adv_2018-70a2.html"},{"type":"FIX","url":"https://github.com/curl/curl/commit/ba1dbd78e5f1ed67c1b8d37ac89d90e5e330b628"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/curl/curl","events":[{"introduced":"54b636f14546d3fde9f9c67c3b32701d78563161"},{"last_affected":"cb013830383f1ccc9757aba36bc32df5ec281c02"},{"fixed":"ba1dbd78e5f1ed67c1b8d37ac89d90e5e330b628"}],"database_specific":{"cpe":"cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"7.54.1"},{"last_affected":"7.60.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["curl-7_60_0","curl-7_59_0","curl-7_58_0","curl-7_57_0","curl-7_56_1","curl-7_56_0","curl-7_55_1","curl-7_55_0","curl-7_54_1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-0500.json","vanir_signatures_modified":"2026-07-08T12:28:29Z","vanir_signatures":[{"id":"CVE-2018-0500-1da300f5","signature_type":"Line","signature_version":"v1","source":"https://github.com/curl/curl/commit/ba1dbd78e5f1ed67c1b8d37ac89d90e5e330b628","target":{"file":"lib/smtp.c"},"deprecated":false,"digest":{"line_hashes":["100346489179498015074596516711790345714","36398893905587497857396509459642227416","83528369294652915166766063052770479545","119381144070371804446013776337879380459","308943778265509870019894021240107613861","167054270400523215026863660412897532998","326483793231161323803805689795008028311","214925078150770847850926944304516077504","226951013112595546245203535799648872728"],"threshold":0.9}},{"id":"CVE-2018-0500-9a00892e","signature_type":"Function","signature_version":"v1","source":"https://github.com/curl/curl/commit/ba1dbd78e5f1ed67c1b8d37ac89d90e5e330b628","target":{"function":"Curl_smtp_escape_eob","file":"lib/smtp.c"},"deprecated":false,"digest":{"function_hash":"220425643078242232243892256799210626195","length":1560}}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}