CVE-2021-44957: Global buffer overflow vulnerability exist in ffjpeg through 01.01.2021
CVE-2021-44957 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.
Global buffer overflow vulnerability exist in ffjpeg through 01.01.2021. It is similar to CVE-2020-23705. Issue is in the jfif_encode function at ffjpeg/src/jfif.c (line 708) could cause a Denial of Service by using a crafted jpeg file.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.8% (top 43%) |
| CISA exploited list | No |
| Weakness | CWE-120 |
| Published | 2022-02-08 |
| 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-2021-44957?
ffjpeg: upgrade to newer than 2021-01-01. Exact commands for each OS are on this page.
Is CVE-2021-44957 being exploited?
CVE-2021-44957 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-2021-44957 affect?
CVE-2021-44957 affects ffjpeg. Severity is medium (CVSS 6.5). Global buffer overflow vulnerability exist in ffjpeg through 01.01.2021. It is similar to CVE-2020-23705. Issue is in the jfif_encode function at ffjpeg/src/jfif.c (line 708) could cause a Denial of Service by using a crafted jpeg file.
How urgent is CVE-2021-44957?
Priority 42/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-2022-28471 MEDIUM 6.5 DOWNGRADE In ffjpeg (commit hash: caade60), the function bmp_load() in bmp.c contains an integer overflow vulnerability,
- CVE-2021-45385 MEDIUM 6.5 DOWNGRADE A Null Pointer Dereference vulnerability exits in ffjpeg d5cfd49 (2021-12-06) in bmp_load()
- 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.