NULL pointer dereference in Rockcarry Ffjpeg
CVE-2021-45385
A Null Pointer Dereference vulnerability exits in ffjpeg d5cfd49 (2021-12-06) in bmp_load(). When the size information in metadata of the bmp is out of range, it returns without assign memory buffer to `pb->pdata` and did not exit the program. So the program crashes when it tries to access the pb->data, in jfif_encode() at jfif.c:763. This is due to the incomplete patch for CVE-2020-13438.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.009, 60.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rockcarry Ffjpeg — versions 2021-12-06
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, Marsman1996/pocs). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/rockcarry/ffjpeg/issues/47 (Exploit, Third Party Advisory, Issue Tracking)
- github.com/rockcarry/ffjpeg/pull/48 (Patch, Third Party Advisory, Issue Tracking)