CVE-2021-45385
Summary
| CVE | CVE-2021-45385 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-02-11 16:15:00 UTC |
| Updated | 2023-08-17 14:09:00 UTC |
| 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->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. |
Risk And Classification
Problem Types: CWE-476
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Ffjpeg Project | Ffjpeg | 2021-12-06 | All | All | All |
| Application | Rockcarry | Ffjpeg | 2021-12-06 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| exit program when bmp file is oversize by Marsman1996 · Pull Request #48 · rockcarry/ffjpeg · GitHub | MISC | github.com | |
| SEGV in jfif_encode() at jfif.c:763 · Issue #47 · rockcarry/ffjpeg · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.