CVE-2021-45385
MEDIUMffjpeg d5cfd49 - Null Pointer Dereference in bmp_load()
Title source: llmDescription
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.
References (2)
Core 2
Core References
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/rockcarry/ffjpeg/issues/47
Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://github.com/rockcarry/ffjpeg/pull/48
Scores
CVSS v3
6.5
EPSS
0.0088
EPSS Percentile
54.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Details
CWE
CWE-476
Status
published
Products (1)
rockcarry/ffjpeg
2021-12-06
Published
Feb 11, 2022
Tracked Since
Feb 18, 2026