Skip to content
OpenAdvisories
Unscored CVE-2018-0500 EUVD-2018-1322GHSA-rg4c-f6cj-x9w8

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 b…

Published Jul 11, 2018 · Updated Aug 5, 2024 · Assigned by debian

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

VendorProductAffectedFixed
— curl before 7.61.0 curl before 7.61.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl 7.61.0-1 —
Debian 13 curl 7.61.0-1 —
Debian 12 curl 7.61.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS curl 7.58.0-2ubuntu3.2 USN-3710-1
ReleasePackageFixed inAdvisory
SLES 15 curl 7.60.0-3.6.4 SUSE-SU-2018:2423-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 7.79.1-1.1 openSUSE-SU-2024:10582-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 7.61.0-r0 —
Alpine v3.23 curl 7.61.0-r0 —
Alpine v3.22 curl 7.61.0-r0 —
Alpine v3.21 curl 7.61.0-r0 —
Alpine v3.20 curl 7.61.0-r0 —
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 curl 7.61.0-r0 —
Alpine v3.18 curl 7.61.0-r0 —
Alpine v3.17 curl 7.61.0-r0 —
Alpine v3.16 curl 7.61.0-r0 —
Alpine v3.15 curl 7.61.0-r0 —
Alpine v3.14 curl 7.61.0-r0 —
Alpine v3.13 curl 7.61.0-r0 —
Alpine v3.12 curl 7.61.0-r0 —
Alpine v3.11 curl 7.61.0-r0 —
Alpine v3.10 curl 7.61.0-r0 —
Alpine v3.9 curl 7.61.0-r0 —
Alpine v3.8 curl 7.61.0-r0 —
Alpine v3.7 curl 7.61.0-r0 —
Alpine v3.6 curl 7.61.0-r0 —
Alpine v3.5 curl 7.61.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 curl +2 7.55.1-12.amzn2.0.5 ALAS2-2018-1052

Advisories 5

References