CVE-2018-0500
Reported by debian · Published July 11, 2018
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| curl | Alpine | 7.61.0-r0 |
| lib32-libcurl-gnutls | Arch Linux | 7.61.0-1 |
| libcurl-gnutls | Arch Linux | 7.61.0-1 |
| curl | Amazon Linux | 7.55.1-12.amzn2.0.5 |
| lib32-curl | Arch Linux | 7.61.0-1 |
| curl | Arch Linux | 7.61.0-1 |
| curl | haxx | 7.60.0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | curl before 7.61.0 | curl before 7.61.0 |
| alpine | curl | 0 |
| arch | lib32-libcurl-gnutls | 0 |
| arch | libcurl-gnutls | 0 |
| amazon:2 | curl | 0 |
| arch | lib32-curl | 0 |
| arch | curl | 0 |
| n/a | curl before 7.61.0 | 7.61.0 |
| amazon:2 | libcurl-devel | 0 |
| arch | libcurl-compat | 0 |
| amazon:2 | libcurl | 0 |
| arch | lib32-libcurl-compat | 0 |
Timeline
- Jul 11, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (4 in total, the first dated here)
- Sep 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-0500
vulnetix vdb fixes CVE-2018-0500
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-0500/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 1041280 vdb-entryx_refsource_SECTRACK
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- GLSA-201807-04 vendor-advisoryx_refsource_GENTOO
- RHSA-2018:2486 vendor-advisoryx_refsource_REDHAT
- USN-3710-1 vendor-advisoryx_refsource_UBUNTU