Vulnerabilities / CVE-2018-1000300

critical

CVE-2018-1000300

curl: FTP shutdown response heap-based buffer overflow can potentially lead to RCE

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 (high), Amazon (high), Ubuntu (medium).

Description

curl version curl 7.54.1 to and including curl 7.59.0 contains a CWE-122: Heap-based Buffer Overflow vulnerability in denial of service and more that can result in curl might overflow a heap based memory buffer when closing down an FTP connection with very long server command replies.. This vulnerability appears to have been fixed in curl < 7.54.1 and curl >= 7.60.0.

Affected packages and fixed versions

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

References

All 12 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.