CVE-2018-0500 json
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 b…
published 2018-07-11 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-1322
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.4%
- EPSS 6.4% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- curl Debian 14, Debian 13, Debian 12 7.61.0-1
debian advisories DEBIAN-CVE-2018-0500
- curl Ubuntu 18.04 LTS 7.58.0-2ubuntu3.2
ubuntu advisories UBUNTU-CVE-2018-0500
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- curl SLE Module for Basesystem 15 7.60.0-3.6.4
suse advisories SUSE-SU-2018:2423-1
- curl openSUSE Tumbleweed 7.79.1-1.1
opensuse advisories openSUSE-SU-2024:10582-1
- curl Alpine 3.24, Alpine 3.23, Alpine 3.22 +17 more 7.61.0-r0
alpine advisories ALPINE-CVE-2018-0500
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/curl/curl@ba1dbd7 commit
- curl.haxx.se/docs/adv_2018-70a2.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-0500 updated cvss 7.5
curl: Heap-based buffer overflow in Curl_smtp_escape_eob() when uploading data over SMTP
-
Red Hat JBoss Core Servicesfixed: vendor fix RHSA-2018:2486
-
Red Hat .NET Core 1.0 on Red Hat Enterprise Linux rh-dotnetcore10-curl Red Hat .NET Core 1.1 on Red Hat Enterprise Linux rh-dotnetcore11-curl Red Hat .NET Core 2.0 on Red Hat Enterprise Linux rh-dotnet20-curl Red Hat .NET Core 2.1 on Red Hat Enterprise Linux rh-dotnet21-curl, rh-dotnet21-libcurl Red Hat Enterprise Linux 5 curl Red Hat Enterprise Linux 6 curl, libcurlnot affected: vulnerable code not present
+5 more productsfewer
Red Hat Enterprise Linux 7 curl, libcurl Red Hat Enterprise Linux 8 curl, libcurl, libcurl-minimal Red Hat JBoss Core Services jbcs-httpd24-curl jbcs-httpd24-curl Red Hat JBoss Web Server 3 curl Red Hat Software Collections httpd24-curl, httpd24-libcurl
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
6.35% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- curl.haxx.se https://curl.haxx.se/docs/adv_2018-70a2.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- n/a curl before 7.61.0
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/curl/curl/commit/ba1dbd78e5f1ed67c1b8d37ac89d90e5e330b628
patch, third-party-advisory
-
curl.haxx.se
/docs/adv_2018-70a2.html
exploit, patch, vendor-advisory
-
security.gentoo.org
/glsa/201807-04
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2486
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3710-1/
vendor-advisory, third-party-advisory
-
securitytracker.com
/id/1041280
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2018-0500
- NVD CVE-2018-0500
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.