CVEvulnerability
CVE-2021-45385
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-02-11
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-476
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.
Affected configurations
• rockcarry ffjpeg 2021-12-06
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://github.com/rockcarry/ffjpeg/issues/47 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/rockcarry/ffjpeg/pull/48 Issue Tracking, Patch, Third Party Advisory
- https://github.com/rockcarry/ffjpeg/issues/47 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/rockcarry/ffjpeg/pull/48 Issue Tracking, Patch, Third Party Advisory