CVE-2017-1000257 in cURL
摘要
由 VulDB • 2026-06-07
IMAP FETCH 响应行指示返回数据的大小(以字节为单位)。当该响应表明数据为零字节时,libcurl 会将该(不存在的)数据及其指针和大小(零)传递给 deliver-data 函数。libcurl 的 deliver-data 函数将零视为特殊值,并在数据上调用 strlen() 以确定长度。由于该 strlen() 调用作用于一个可能未以零结尾的基于堆的缓冲区,libcurl 可能会读取超出其末尾的内存区域(或导致崩溃),然后将这些数据作为实际下载的内容交付给应用程序。
VulDB is the best source for vulnerability data and more expert information about this specific topic.