libcurl versions from 7.34.0 to before 7.64.0 are vulnerable to a heap out-of-bounds read in the code handling the end-of-response for SMTP. If the buffer passed to `smtp_endofresp()` isn't NUL terminated and contains no character ending the parsed number, and `len` is set to 5, then the `strtol()` call reads beyond the allocated buffer. The read contents will not be returned to the caller. Bug introduced by: https://github.com/curl/curl/commit/2766262a68
Acknowledgments: Name: Daniel Stenberg (the Curl project) Upstream: Brian Carpenter (Geeknik Labs)
External Reference: https://curl.haxx.se/docs/CVE-2019-3823.html Upstream Patch: https://github.com/curl/curl/commit/39df4073
Created curl tracking bugs for this issue: Affects: fedora-all [bug 1672906]
Mitigation: Do not use SMTP authentication with curl
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2019:3701 https://access.redhat.com/errata/RHSA-2019:3701
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2019-3823