CVE-2018-0500

Source
https://cve.org/CVERecord?id=CVE-2018-0500
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-0500.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-0500
Aliases
Downstream
ALPINE (1)
BELL (1)
CLEANSTART (6)
DEBIAN (1)
MGASA (1)
openSUSE (1)
SUSE (1)
UBUNTU (1)
Related
Published
2018-07-11T13:29:00Z
Modified
2026-07-08T12:28:29Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "17.10"
                },
                {
                    "last_affected":  "17.10"
                },
                {
                    "introduced":  "18.04"
                },
                {
                    "last_affected":  "18.04"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "canonical:ubuntu_linux"
        }
    ]
}
References

Affected packages

Git / github.com/curl/curl

Affected ranges

Type
GIT
Repo
https://github.com/curl/curl
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "7.54.1"
        },
        {
            "last_affected":  "7.60.0"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

Other
curl-7_54_1
curl-7_55_0
curl-7_55_1
curl-7_56_0
curl-7_56_1
curl-7_57_0
curl-7_58_0
curl-7_59_0
curl-7_60_0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-0500.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "100346489179498015074596516711790345714",
                "36398893905587497857396509459642227416",
                "83528369294652915166766063052770479545",
                "119381144070371804446013776337879380459",
                "308943778265509870019894021240107613861",
                "167054270400523215026863660412897532998",
                "326483793231161323803805689795008028311",
                "214925078150770847850926944304516077504",
                "226951013112595546245203535799648872728"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2018-0500-1da300f5",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/curl/curl/commit/ba1dbd78e5f1ed67c1b8d37ac89d90e5e330b628",
        "target":  {
            "file":  "lib/smtp.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "220425643078242232243892256799210626195",
            "length":  1560
        },
        "id":  "CVE-2018-0500-9a00892e",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/curl/curl/commit/ba1dbd78e5f1ed67c1b8d37ac89d90e5e330b628",
        "target":  {
            "file":  "lib/smtp.c",
            "function":  "Curl_smtp_escape_eob"
        }
    }
]
vanir_signatures_modified
"2026-07-08T12:28:29Z"