# CVE-2018-0500: curl: 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...

CVE-2018-0500 is fixed in 4 products on 1 platform, first by curl 7.58.0-2ubuntu3.2, released July 10, 2018. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-0500
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0635
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 10, 2018

## 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).

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | curl Ubuntu 18.04.6 LTS (bionic) | 7.58.0-2ubuntu3.2 | [curl 7.58.0-2ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-curl-7.58.0-2ubuntu3.2.md) | Jul 10, 2018 |
| Linux | libcurl3-gnutls Ubuntu 18.04.6 LTS (bionic) | 7.58.0-2ubuntu3.2 | [libcurl3-gnutls 7.58.0-2ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libcurl3-gnutls-7.58.0-2ubuntu3.2.md) | Jul 10, 2018 |
| Linux | libcurl3-nss Ubuntu 18.04.6 LTS (bionic) | 7.58.0-2ubuntu3.2 | [libcurl3-nss 7.58.0-2ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libcurl3-nss-7.58.0-2ubuntu3.2.md) | Jul 10, 2018 |
| Linux | libcurl4 Ubuntu 18.04.6 LTS (bionic) | 7.58.0-2ubuntu3.2 | [libcurl4 7.58.0-2ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libcurl4-7.58.0-2ubuntu3.2.md) | Jul 10, 2018 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
