Lucene search

K
cvelistMitreCVELIST:CVE-2017-1000257
HistoryOct 31, 2017 - 9:00 p.m.

CVE-2017-1000257

2017-10-3121:00:00
mitre
www.cve.org
2

9.2 High

AI Score

Confidence

High

0.022 Low

EPSS

Percentile

89.5%

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.