Description
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).
References (6)
Core 6
Core References
Third Party Advisory, VDB Entry vdb-entry
x_refsource_sectrack
http://www.securitytracker.com/id/1041280
Patch, Third Party Advisory x_refsource_confirm
https://github.com/curl/curl/commit/ba1dbd78e5f1ed67c1b8d37ac89d90e5e330b628
Exploit, Patch, Vendor Advisory x_refsource_confirm
https://curl.haxx.se/docs/adv_2018-70a2.html
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201807-04
Third Party Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:2486
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3710-1/
Scores
CVSS v3
9.8
EPSS
0.0115
EPSS Percentile
78.6%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-787
Status
published
Products (3)
canonical/ubuntu_linux
17.10
canonical/ubuntu_linux
18.04
haxx/curl
7.54.1 - 7.60.0
Published
Jul 11, 2018
Tracked Since
Feb 18, 2026