Integer Overflow Vulnerability in ffjpeg's bmp_load() Function Leading to Heap Overflow in jfif_encode()

Integer Overflow Vulnerability in ffjpeg's bmp_load() Function Leading to Heap Overflow in jfif_encode()

CVE-2022-28471 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

In ffjpeg (commit hash: caade60), the function bmp_load() in bmp.c contains an integer overflow vulnerability, which eventually results in the heap overflow in jfif_encode() in jfif.c. This is due to the incomplete patch for issue 38

Learn more about our Web Application Penetration Testing UK.