{"id":"UBUNTU-CVE-2019-3823","details":"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.","modified":"2026-01-30T00:43:37.871292Z","published":"2019-02-06T00:00:00Z","related":["USN-3882-1"],"upstream":["CVE-2019-3823"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-3823"},{"type":"REPORT","url":"https://curl.haxx.se/docs/CVE-2019-3823.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3882-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-3823"}],"affected":[{"package":{"name":"curl","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/curl@7.35.0-1ubuntu2.20?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.35.0-1ubuntu2.20"}]}],"versions":["7.32.0-1ubuntu1","7.33.0-1ubuntu1","7.34.0-1ubuntu1","7.35.0-1ubuntu1","7.35.0-1ubuntu2","7.35.0-1ubuntu2.1","7.35.0-1ubuntu2.2","7.35.0-1ubuntu2.3","7.35.0-1ubuntu2.5","7.35.0-1ubuntu2.6","7.35.0-1ubuntu2.7","7.35.0-1ubuntu2.8","7.35.0-1ubuntu2.9","7.35.0-1ubuntu2.10","7.35.0-1ubuntu2.11","7.35.0-1ubuntu2.12","7.35.0-1ubuntu2.13","7.35.0-1ubuntu2.14","7.35.0-1ubuntu2.15","7.35.0-1ubuntu2.16","7.35.0-1ubuntu2.17","7.35.0-1ubuntu2.19"],"ecosystem_specific":{"binaries":[{"binary_version":"7.35.0-1ubuntu2.20","binary_name":"curl"},{"binary_version":"7.35.0-1ubuntu2.20","binary_name":"libcurl3"},{"binary_version":"7.35.0-1ubuntu2.20","binary_name":"libcurl3-gnutls"},{"binary_version":"7.35.0-1ubuntu2.20","binary_name":"libcurl3-nss"},{"binary_version":"7.35.0-1ubuntu2.20","binary_name":"libcurl4-gnutls-dev"},{"binary_version":"7.35.0-1ubuntu2.20","binary_name":"libcurl4-nss-dev"},{"binary_version":"7.35.0-1ubuntu2.20","binary_name":"libcurl4-openssl-dev"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-3823.json"}},{"package":{"name":"curl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/curl@7.47.0-1ubuntu2.12?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.47.0-1ubuntu2.12"}]}],"versions":["7.43.0-1ubuntu2","7.45.0-1ubuntu1","7.46.0-1ubuntu1","7.47.0-1ubuntu1","7.47.0-1ubuntu2","7.47.0-1ubuntu2.1","7.47.0-1ubuntu2.2","7.47.0-1ubuntu2.3","7.47.0-1ubuntu2.4","7.47.0-1ubuntu2.5","7.47.0-1ubuntu2.6","7.47.0-1ubuntu2.7","7.47.0-1ubuntu2.8","7.47.0-1ubuntu2.9","7.47.0-1ubuntu2.11"],"ecosystem_specific":{"binaries":[{"binary_version":"7.47.0-1ubuntu2.12","binary_name":"curl"},{"binary_version":"7.47.0-1ubuntu2.12","binary_name":"libcurl3"},{"binary_version":"7.47.0-1ubuntu2.12","binary_name":"libcurl3-gnutls"},{"binary_version":"7.47.0-1ubuntu2.12","binary_name":"libcurl3-nss"},{"binary_version":"7.47.0-1ubuntu2.12","binary_name":"libcurl4-gnutls-dev"},{"binary_version":"7.47.0-1ubuntu2.12","binary_name":"libcurl4-nss-dev"},{"binary_version":"7.47.0-1ubuntu2.12","binary_name":"libcurl4-openssl-dev"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-3823.json"}},{"package":{"name":"curl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/curl@7.58.0-2ubuntu3.6?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.58.0-2ubuntu3.6"}]}],"versions":["7.55.1-1ubuntu2","7.55.1-1ubuntu2.1","7.57.0-1ubuntu1","7.58.0-2ubuntu1","7.58.0-2ubuntu2","7.58.0-2ubuntu3","7.58.0-2ubuntu3.1","7.58.0-2ubuntu3.2","7.58.0-2ubuntu3.3","7.58.0-2ubuntu3.5"],"ecosystem_specific":{"binaries":[{"binary_version":"7.58.0-2ubuntu3.6","binary_name":"curl"},{"binary_version":"7.58.0-2ubuntu3.6","binary_name":"libcurl3-gnutls"},{"binary_version":"7.58.0-2ubuntu3.6","binary_name":"libcurl3-nss"},{"binary_version":"7.58.0-2ubuntu3.6","binary_name":"libcurl4"},{"binary_version":"7.58.0-2ubuntu3.6","binary_name":"libcurl4-gnutls-dev"},{"binary_version":"7.58.0-2ubuntu3.6","binary_name":"libcurl4-nss-dev"},{"binary_version":"7.58.0-2ubuntu3.6","binary_name":"libcurl4-openssl-dev"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-3823.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"low"}]}