CVE-2022-28471: ffjpeg - Integer Overflow
- Cve: CVE-2022-28471
- Name: ffjpeg - Integer Overflow
- Description: In ffjpeg (commit hash: caade60), the function bmp_load() in bmp.c contains an integer overflow vulnerability, which eventually results in the heap overflow in jfif_encode() in jfif.c. This is due to the incomplete patch for issue 38
- Impact: Attackers can cause arbitrary code execution or application crashes through crafted BMP files.
- Remediation: Apply the complete patch for issue 38 or update to the latest version of ffjpeg.
- Vulnerability type: integer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: user_interaction
- Requirements: Attacker needs to provide crafted BMP files
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.00912
- Epss percentile: 0.60928
- Assignee: [email protected]
- Published at: 2022-05-05T13:15:07Z
- Age in days: 1664
- Modified at: 2026-06-17T04:38:34Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-28471
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-190 | Integer Overflow or Wraparound |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/rockcarry/ffjpeg/issues/49 | nvd | 2022-05-05 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/rockcarry/ffjpeg/issues/49 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rockcarry:ffjpeg | = 2021-12-06 | no | nvd | /v1/products/rockcarry/ffjpeg |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| rockcarry/ffjpeg | issues | yes | /v1/repositories/rockcarry/ffjpeg |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-05-05
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts