CVE-2022-28471: In ffjpeg (commit hash: caade60), the function bmp_load() in bmp.c contains an integer overflow vulnerability,
CVE-2022-28471 is a medium-severity flaw (CVSS 6.5) affecting ffjpeg. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.9% (top 40%) |
| CISA exploited list | No |
| Weakness | CWE-190 |
| Published | 2022-05-05 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-28471?
ffjpeg: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-28471 being exploited?
CVE-2022-28471 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-28471 affect?
CVE-2022-28471 affects ffjpeg. Severity is medium (CVSS 6.5). 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
How urgent is CVE-2022-28471?
Priority 43/100. Public exploit reference
Related CVEs
- CVE-2022-35433 MEDIUM 6.5 UPGRADE ffjpeg commit caade60a69633d74100bd3c2528bddee0b6a1291 was discovered to contain a memory leak via /src/jfif.c
- CVE-2021-45385 MEDIUM 6.5 DOWNGRADE A Null Pointer Dereference vulnerability exits in ffjpeg d5cfd49 (2021-12-06) in bmp_load()
- CVE-2021-44957 MEDIUM 6.5 UPGRADE Global buffer overflow vulnerability exist in ffjpeg through 01.01.2021
- CVE-2021-44956 MEDIUM 6.5 UPGRADE Two Heap based buffer overflow vulnerabilities exist in ffjpeg through 01.01.2021
- CVE-2021-34122 MEDIUM 5.5 UPGRADE The function bitstr_tell at bitstr.c in ffjpeg commit 4ab404e has a NULL pointer dereference.