Critical
Security advisory
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).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-0500
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:25 UTC · Revision 1
Source evidence
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).
osv:CVE-2018-0500
Complete source record
{
"id": "5efd8455823d1fe16c8a995ff48c4adea4f4c90b75d99b6b19ce310b22a1e98a",
"url": "https://osv.dev/vulnerability/CVE-2018-0500",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-0500",
"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).",
"evidence": "osv:CVE-2018-0500",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2018-0500",
"aliases": [
"CURL-CVE-2018-0500",
"CVE-2018-0500"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/curl/curl",
"type": "GIT",
"events": [
{
"introduced": "54b636f14546d3fde9f9c67c3b32701d78563161"
},
{
"last_affected": "cb013830383f1ccc9757aba36bc32df5ec281c02"
},
{
"fixed": "ba1dbd78e5f1ed67c1b8d37ac89d90e5e330b628"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.54.1"
},
{
"last_affected": "7.60.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "ba1dbd78e5f1ed67c1b8d37ac89d90e5e330b628"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"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": [
{
"id": "CVE-2018-0500-1da300f5",
"digest": {
"threshold": 0.9,
"line_hashes": [
"100346489179498015074596516711790345714",
"36398893905587497857396509459642227416",
"83528369294652915166766063052770479545",
"119381144070371804446013776337879380459",
"308943778265509870019894021240107613861",
"167054270400523215026863660412897532998",
"326483793231161323803805689795008028311",
"214925078150770847850926944304516077504",
"226951013112595546245203535799648872728"
]
},
"source": "https://github.com/curl/curl/commit/ba1dbd78e5f1ed67c1b8d37ac89d90e5e330b628",
"target": {
"file": "lib/smtp.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2018-0500-9a00892e",
"digest": {
"length": 1560,
"function_hash": "220425643078242232243892256799210626195"
},
"source": "https://github.com/curl/curl/commit/ba1dbd78e5f1ed67c1b8d37ac89d90e5e330b628",
"target": {
"file": "lib/smtp.c",
"function": "Curl_smtp_escape_eob"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:30:37Z"
}
}
],
"modified": "2026-10-20T13:30:37.393096880Z",
"provider": "osv",
"references": [
"https://access.redhat.com/errata/RHSA-2018:2486",
"https://security.gentoo.org/glsa/201807-04",
"https://usn.ubuntu.com/3710-1/",
"https://curl.haxx.se/docs/adv_2018-70a2.html",
"https://github.com/curl/curl/commit/ba1dbd78e5f1ed67c1b8d37ac89d90e5e330b628"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "17.10"
},
{
"last_affected": "17.10"
},
{
"introduced": "18.04"
},
{
"last_affected": "18.04"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-0500",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387761,
"published_at": "2018-07-11T13:29:00.317+00:00"
}