curl: Heap-based buffer overflow in Curl_smtp_escape_eob() when uploading data over SMTP
Published Jul 11, 2018
9.8
CRITICALCVSS 3.0
EPSS 6.35%
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 products
- Vendor n/a Product Curl Before 7.61.0 Defaultn/a
- Version curl before 7.61.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Curl Before 7.61.0 | n/a |
|
Configuration 2
- 17.10
- 18.04
No data.
Red Hat JBoss Core Services
n/a
Fixed · RHSA-2018:2486
.NET Core 1.0 on Red Hat Enterprise Linux
rh-dotnetcore10-curl
Not affected
.NET Core 1.1 on Red Hat Enterprise Linux
rh-dotnetcore11-curl
Not affected
.NET Core 2.0 on Red Hat Enterprise Linux
rh-dotnet20-curl
Not affected
.NET Core 2.1 on Red Hat Enterprise Linux
rh-dotnet21-curl
Not affected
Red Hat Enterprise Linux 5
curl
Not affected
Red Hat Enterprise Linux 6
curl
Not affected
Red Hat Enterprise Linux 7
curl
Not affected
Red Hat Enterprise Linux 8
curl
Not affected
Red Hat JBoss Core Services
jbcs-httpd24-curl
Not affected
Red Hat JBoss Web Server 3
curl
Not affected
Red Hat Software Collections
httpd24-curl
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat JBoss Core Services | n/a | Fixed | RHSA-2018:2486 |
| .NET Core 1.0 on Red Hat Enterprise Linux | rh-dotnetcore10-curl | Not affected | n/a |
| .NET Core 1.1 on Red Hat Enterprise Linux | rh-dotnetcore11-curl | Not affected | n/a |
| .NET Core 2.0 on Red Hat Enterprise Linux | rh-dotnet20-curl | Not affected | n/a |
| .NET Core 2.1 on Red Hat Enterprise Linux | rh-dotnet21-curl | Not affected | n/a |
| Red Hat Enterprise Linux 5 | curl | Not affected | n/a |
| Red Hat Enterprise Linux 6 | curl | Not affected | n/a |
| Red Hat Enterprise Linux 7 | curl | Not affected | n/a |
| Red Hat Enterprise Linux 8 | curl | Not affected | n/a |
| Red Hat JBoss Core Services | jbcs-httpd24-curl | Not affected | n/a |
| Red Hat JBoss Web Server 3 | curl | Not affected | n/a |
| Red Hat Software Collections | httpd24-curl | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of curl/libcurl as shipped with Red Hat Enterprise Linux 5, 6 and 7 as they did not include the vulnerable code. This issue did not affect the versions of curl/libcurl as shipped with Red Hat Software Collections 3 as they did not include the vulnerable code.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (30 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 6.35% (0.06352) | 93.43th | v5 (v2026.06.15) |
| Sep 22, 2026 | 6.35% (0.06352) | 93.33th | v5 (v2026.06.15) |
| Sep 21, 2026 | 5.17% (0.05170) | 92.10th | v5 (v2026.06.15) |
| Sep 20, 2026 | 6.35% (0.06352) | 93.32th | v5 (v2026.06.15) |
| Sep 6, 2026 | 6.43% (0.06433) | 93.25th | v5 (v2026.06.15) |
| Sep 5, 2026 | 5.24% (0.05236) | 92.02th | v5 (v2026.06.15) |
| Aug 30, 2026 | 6.43% (0.06433) | 93.22th | v5 (v2026.06.15) |
| Aug 28, 2026 | 5.24% (0.05236) | 91.98th | v5 (v2026.06.15) |
| Aug 24, 2026 | 6.43% (0.06433) | 93.17th | v5 (v2026.06.15) |
| Aug 23, 2026 | 5.24% (0.05236) | 91.94th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.43% (0.06433) | 92.81th | v5 (v2026.06.15) |
| Nov 21, 2025 | 1.21% (0.01212) | 78.40th | v4 (v2025.03.14) |
| Nov 18, 2025 | 6.17% (0.06167) | 89.91th | v4 (v2025.03.14) |
| Mar 30, 2025 | 1.39% (0.01390) | 78.60th | v4 (v2025.03.14) |
| Mar 29, 2025 | 14.92% (0.14921) | 90.93th | v4 (v2025.03.14) |
| Jul 20, 2024 | 1.33% (0.01330) | 86.18th | v3 (v2023.03.01) |
| Dec 2, 2023 | 1.33% (0.01330) | 84.45th | v3 (v2023.03.01) |
| Aug 9, 2023 | 1.41% (0.01413) | 84.79th | v3 (v2023.03.01) |
| Jul 8, 2023 | 1.97% (0.01974) | 87.18th | v3 (v2023.03.01) |
| Jul 5, 2023 | 2.17% (0.02165) | 87.77th | v3 (v2023.03.01) |
| May 8, 2023 | 2.05% (0.02047) | 87.27th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.87% (0.01866) | 86.51th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.11% (0.01108) | 55.18th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.11% (0.01108) | 53.57th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.11% (0.01108) | 51.54th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.11% (0.01108) | 29.61th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.45% (0.01454) | 32.67th | v1 |
| Jan 6, 2022 | 1.45% (0.01454) | 31.96th | v1 |
| Sep 1, 2021 | 1.45% (0.01454) | 71.88th | v1 |
| Apr 14, 2021 | 1.45% (0.01454) | 0.00th | v1 |
References (10)
- http://www.securitytracker.com/id/1041280 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:2486 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-0500 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1597101 Issue Tracking
- https://curl.haxx.se/docs/adv_2018-70a2.html x_refsource_CONFIRMExploitPatchVendor Advisory
- https://github.com/curl/curl/commit/ba1dbd78e5f1ed67c1b8d37ac89d90e5e330b628 x_refsource_CONFIRMPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-0500
- https://security.gentoo.org/glsa/201807-04 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://usn.ubuntu.com/3710-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-0500
| Link | Providers | Tags |
|---|---|---|
| http://www.securitytracker.com/id/1041280 | vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2018:2486 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2018-0500 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1597101 | Issue Tracking | |
| https://curl.haxx.se/docs/adv_2018-70a2.html | x_refsource_CONFIRMExploitPatchVendor Advisory | |
| https://github.com/curl/curl/commit/ba1dbd78e5f1ed67c1b8d37ac89d90e5e330b628 | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-0500 | ||
| https://security.gentoo.org/glsa/201807-04 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://usn.ubuntu.com/3710-1/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-0500 |
Change history (0)
No recorded changes yet.