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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2022-02-11T15:18:09

Updated: 2024-08-04T04:39:20.567Z

Reserved: 2021-12-20T00:00:00

Link: CVE-2021-45385

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2022-02-11T16:15:08.793

Modified: 2023-08-17T14:09:52.160

Link: CVE-2021-45385

cve-icon Redhat

No data.