Vulnerabilities / CVE-2018-0500

critical

CVE-2018-0500

curl: Heap-based buffer overflow in Curl_smtp_escape_eob() when uploading data over SMTP

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.5CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (medium), Amazon (medium), Ubuntu (medium).

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

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 1.0curl7.59.0-3.ph1
Photon OS 2.0curl7.59.0-3.ph2
alpine 3.10curl7.61.0-r0
alpine 3.11curl7.61.0-r0
alpine 3.12curl7.61.0-r0
alpine 3.13curl7.61.0-r0
alpine 3.14curl7.61.0-r0
alpine 3.15curl7.61.0-r0
alpine 3.16curl7.61.0-r0
alpine 3.17curl7.61.0-r0
alpine 3.18curl7.61.0-r0
alpine 3.19curl7.61.0-r0
Show all 42 entries from 36 sources
SourcePackageFixed in
Photon OS 1.0curl7.59.0-3.ph1
Photon OS 2.0curl7.59.0-3.ph2
alpine 3.10curl7.61.0-r0
alpine 3.11curl7.61.0-r0
alpine 3.12curl7.61.0-r0
alpine 3.13curl7.61.0-r0
alpine 3.14curl7.61.0-r0
alpine 3.15curl7.61.0-r0
alpine 3.16curl7.61.0-r0
alpine 3.17curl7.61.0-r0
alpine 3.18curl7.61.0-r0
alpine 3.19curl7.61.0-r0
alpine 3.20curl7.61.0-r0
alpine 3.21curl7.61.0-r0
alpine 3.22curl7.61.0-r0
alpine 3.23curl7.61.0-r0
alpine 3.24curl7.61.0-r0
alpine 3.5curl7.61.0-r0
alpine 3.6curl7.61.0-r0
alpine 3.7curl7.61.0-r0
alpine 3.8curl7.61.0-r0
alpine 3.9curl7.61.0-r0
alpine edgecurl7.61.0-r0
amazon linux 1curl7.61.1-7.91.amzn1
amazon linux 1curl-debuginfo7.61.1-7.91.amzn1
amazon linux 1libcurl7.61.1-7.91.amzn1
amazon linux 1libcurl-devel7.61.1-7.91.amzn1
amazon linux 2curl7.55.1-12.amzn2.0.5
amazon linux 2curl-debuginfo7.55.1-12.amzn2.0.5
amazon linux 2libcurl7.55.1-12.amzn2.0.5
amazon linux 2libcurl-devel7.55.1-12.amzn2.0.5
debian 11curl7.61.0-1
debian 12curl7.61.0-1
debian 13curl7.61.0-1
debian 14curl7.61.0-1
echocurl7.61.0-1
root.io debian 11rootio-curl7.61.0-1
root.io debian 12rootio-curl7.61.0-1
root.io debian 13rootio-curl7.61.0-1
ubuntu 17.10curl7.55.1-1ubuntu2.6
ubuntu 18.04curl7.58.0-2ubuntu3.2
ubuntu 18.04-ESMcurl7.58.0-2ubuntu3.2

References

All 10 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.