An issue exists in libjpeg up to and including 2020021. LineBuffer::FetchRegion() in linebuffer.cpp has a heap-based buffer overflow.
jpeg libjpeg