{"id":"CVE-2021-45385","aliases":["EUVD-2021-32158","GHSA-2php-7prq-766p"],"status":"published","title":"A Null Pointer Dereference vulnerability exits in ffjpeg d5cfd49 (2021-12-06) in bmp_load(). When...","description":"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-\u003epdata` and did not exit the program. So the program crashes when it tries to access the pb-\u003edata, in jfif_encode() at jfif.c:763. This is due to the incomplete patch for CVE-2020-13438.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00893,"percentile":0.5971,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-476"],"published":"2022-02-11T15:18:09Z","modified":"2026-06-17T04:13:19Z","products":[{"vendor":"rockcarry","product":"ffjpeg"}],"references":[{"url":"https://github.com/rockcarry/ffjpeg/issues/47","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/rockcarry/ffjpeg/pull/48","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45385"},{"url":"https://github.com/advisories/GHSA-2php-7prq-766p"}],"sources":{"cve":[{"id":"CVE-2021-45385","description":"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-\u003epdata` and did not exit the program. So the program crashes when it tries to access the pb-\u003edata, in jfif_encode() at jfif.c:763. This is due to the incomplete patch for CVE-2020-13438.","status":"published","published":"2022-02-11T15:18:09Z","modified":"2024-08-04T04:39:20.567Z","updated_at":"2026-11-02T14:33:02.930115Z"}],"euvd":[{"id":"EUVD-2021-32158","description":"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-\u003epdata` and did not exit the program. So the program crashes when it tries to access the pb-\u003edata, in jfif_encode() at jfif.c:763. This is due to the incomplete patch for CVE-2020-13438.","status":"published","published":"2022-02-11T15:18:09Z","modified":"2024-08-04T04:39:20Z","updated_at":"2026-11-03T03:08:27.448176Z"}],"ghsa":[{"id":"GHSA-2php-7prq-766p","title":"A Null Pointer Dereference vulnerability exits in ffjpeg d5cfd49 (2021-12-06) in bmp_load(). When...","description":"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-\u003epdata` and did not exit the program. So the program crashes when it tries to access the pb-\u003edata, in jfif_encode() at jfif.c:763. This is due to the incomplete patch for CVE-2020-13438.","status":"published","published":"2022-02-12T00:00:46Z","modified":"2023-08-26T05:02:22Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:54:45.82233Z"}],"nvd":[{"id":"CVE-2021-45385","description":"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-\u003epdata` and did not exit the program. So the program crashes when it tries to access the pb-\u003edata, in jfif_encode() at jfif.c:763. This is due to the incomplete patch for CVE-2020-13438.","status":"published","published":"2022-02-11T16:15:08.793Z","modified":"2026-06-17T04:13:19.277Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:07:04.6896Z"}]}}
