CVE-2019-3823
Description
libcurl <7.64.0 has a heap out-of-bounds read in SMTP response handling via smtp_endofresp(), disclosed Feb 2019.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
libcurl <7.64.0 has a heap out-of-bounds read in SMTP response handling via `smtp_endofresp()`, disclosed Feb 2019.
Vulnerability
A heap out-of-bounds read vulnerability exists in libcurl versions 7.34.0 through 7.63.0 inclusive in the smtp_endofresp() function that handles SMTP end-of-response checking [1], [2], [3]. If the buffer passed to smtp_endofresp() is not NUL terminated and contains no character ending the parsed number, and the len parameter is set to 5, then the strtol() call reads beyond the allocated buffer [3].
Exploitation
An attacker must be able to trigger a specific SMTP response that lacks certain terminators, and the len value in the SMTP protocol implementation must be 5 [1], [2]. No authentication is required beyond network access to an SMTP server that responds with crafted data. The read content from out-of-bounds is not returned to the caller but could potentially be observed through side effects or crashes [3].
Impact
Successful exploitation leads to out-of-bounds heap read, which may cause a denial of service (crash) or expose sensitive heap data [1], [2], [3]. The CVSS score is 5.3 (medium), and the CWE is 125 (Out-of-bounds Read) [3].
Mitigation
Fixed in libcurl 7.64.0, released February 6, 2019 [3]. Users should upgrade to version 7.64.0 or later [3], [4]. Alternatively, apply the patch from commit 39df4073e5413fcdbb5a38d [3]. A workaround is to disable SMTP usage or SMTP authentication if possible [2]. Gentoo users should emerge >=net-misc/curl-7.64.0 [4].
AI Insight generated on May 24, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
21- osv-coords20 versionspkg:rpm/opensuse/curl&distro=openSUSE%20Leap%2015.0pkg:rpm/opensuse/curl&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/curl-mini&distro=openSUSE%20Leap%2015.0pkg:rpm/suse/curl&distro=SUSE%20Enterprise%20Storage%204pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP4pkg:rpm/suse/curl&distro=SUSE%20OpenStack%20Cloud%207
< 7.60.0-lp150.2.18.1+ 19 more
- (no CPE)range: < 7.60.0-lp150.2.18.1
- (no CPE)range: < 7.79.1-1.1
- (no CPE)range: < 7.60.0-lp150.2.18.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.60.0-4.3.1
- (no CPE)range: < 7.60.0-3.17.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.60.0-4.3.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.60.0-4.3.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.60.0-4.3.1
- (no CPE)range: < 7.37.0-37.34.1
- The curl Project/curlv5Range: 7.64.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
12- access.redhat.com/errata/RHSA-2019:3701mitrevendor-advisoryx_refsource_REDHAT
- security.gentoo.org/glsa/201903-03mitrevendor-advisoryx_refsource_GENTOO
- usn.ubuntu.com/3882-1/mitrevendor-advisoryx_refsource_UBUNTU
- www.debian.org/security/2019/dsa-4386mitrevendor-advisoryx_refsource_DEBIAN
- www.securityfocus.com/bid/106950mitrevdb-entryx_refsource_BID
- bugzilla.redhat.com/show_bug.cgimitrex_refsource_CONFIRM
- cert-portal.siemens.com/productcert/pdf/ssa-936080.pdfmitrex_refsource_CONFIRM
- curl.haxx.se/docs/CVE-2019-3823.htmlmitrex_refsource_MISC
- lists.apache.org/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f%40%3Cdevnull.infra.apache.org%3Emitremailing-listx_refsource_MLIST
- security.netapp.com/advisory/ntap-20190315-0001/mitrex_refsource_CONFIRM
- www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.htmlmitrex_refsource_MISC
- www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.htmlmitrex_refsource_MISC
News mentions
0No linked articles in our index yet.