# CVE-2020-23852: A heap based buffer overflow vulnerability exists in ffjpeg through 2020-07-02 in the jfifdecode(void ctxt, BMP pb) function at ffjpeg/src/…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-18T14:12:26.000Z
- Modified: 2026-06-17T03:05:00.737Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

A heap based buffer overflow vulnerability exists in ffjpeg through 2020-07-02 in the jfif_decode(void *ctxt, BMP *pb) function at ffjpeg/src/jfif.c (line 544 & line 545), which could cause a denial of service by submitting a malicious jpeg image.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- rockcarry ffjpeg: up to 2020-07-02

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/rockcarry/ffjpeg/issues/28> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2020-23852](https://www.cve.org/CVERecord?id=CVE-2020-23852), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-23852](https://nvd.nist.gov/vuln/detail/CVE-2020-23852), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-23852 · Whole record: https://cve.day/CVE-2020-23852.json · Rebuilt by cve.day 2026-11-25T22:57:57.931Z
