An IMAP FETCH response line indicates the size of the returned data, in number of bytes. When that response says the data is zero bytes, libcurl would pass on that (non-existing) data with a pointer and the size (zero) to the deliver-data function. libcurl's deliver-data function treats zero as a magic number and invokes strlen() on the data to figure out the length. The strlen() is called on a heap based buffer that might not be zero terminated so libcurl might read beyond the end of it into whatever memory lies after (or just crash) and then deliver that to the application as if it was actually downloaded.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "curl" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "curl-dbgsym" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "curl-udeb" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "curl-udeb-dbgsym" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl3" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl3-dbg" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl3-dbgsym" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl3-gnutls" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl3-gnutls-dbgsym" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl3-nss" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl3-nss-dbgsym" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl3-udeb" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl3-udeb-dbgsym" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl4-doc" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl4-gnutls-dev" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl4-gnutls-dev-dbgsym" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl4-nss-dev" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl4-nss-dev-dbgsym" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl4-openssl-dev" }, { "binary_version": "7.35.0-1ubuntu2.12", "binary_name": "libcurl4-openssl-dev-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "curl" }, { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "curl-dbgsym" }, { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "libcurl3" }, { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "libcurl3-dbg" }, { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "libcurl3-dbgsym" }, { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "libcurl3-gnutls" }, { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "libcurl3-gnutls-dbgsym" }, { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "libcurl3-nss" }, { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "libcurl3-nss-dbgsym" }, { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "libcurl4-doc" }, { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "libcurl4-gnutls-dev" }, { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "libcurl4-gnutls-dev-dbgsym" }, { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "libcurl4-nss-dev" }, { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "libcurl4-nss-dev-dbgsym" }, { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "libcurl4-openssl-dev" }, { "binary_version": "7.47.0-1ubuntu2.4", "binary_name": "libcurl4-openssl-dev-dbgsym" } ] }