# CVE-2020-28840: Buffer Overflow vulnerability in jpgfile.c in Matthias-Wandel jhead version 3.04, allows local attackers to execute arbitrary code and caus…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2023-08-11T00:00:00.000Z
- Modified: 2026-06-17T03:10:44.287Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

Buffer Overflow vulnerability in jpgfile.c in Matthias-Wandel jhead version 3.04, allows local attackers to execute arbitrary code and cause a denial of service (DoS).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- matthiaswandel jhead: before 3.04

## References

- <https://bugs.launchpad.net/ubuntu/+source/jhead/+bug/1900820> (exploit, issue-tracking)
- <https://github.com/Matthias-Wandel/jhead/issues/8> (exploit, issue-tracking, patch)
- <https://github.com/F-ZhaoYang/jhead/security/advisories/GHSA-xh27-xwgj-gqw2> (exploit)
- <https://github.com/Matthias-Wandel/jhead/commit/4827ed31c226dc5ed93603bd649e0e387a1778da> (patch)

## Sources

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

---

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