# CVE-2021-27815: NULL Pointer Deference in the exif command line tool, when printing out XML formatted EXIF data, in exif v0.6.22 and earlier allows attacke…

- 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): 1.27%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-14T00:00:00.000Z
- Modified: 2026-06-17T03:45:29.457Z
- Weaknesses: CWE-476
- Assigned by: mitre

## Description

NULL Pointer Deference in the exif command line tool, when printing out XML formatted EXIF data, in exif v0.6.22 and earlier allows attackers to cause a Denial of Service (DoS) by uploading a malicious JPEG file, causing the application to crash.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libexif_project exif: up to 0.6.22
- fedoraproject fedora: 32; 33; 34

## 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/libexif/exif/issues/4> (exploit, third-party-advisory)
- <https://github.com/libexif/exif/commit/f6334d9d32437ef13dc902f0a88a2be0063d9d1c> (patch, third-party-advisory)
- <https://github.com/libexif/exif/commit/eb84b0e3c5f2a86013b6fcfb800d187896a648fa> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JSWAXZVNXYLV3E4R6YQTEGRGMGWEAR76/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZQ3L45F7S7PQPG5HEHXOCGNOO64MJOS/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QMC6OTXZRPCUD3LOSWO4ISR7CH7NJQDT/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202210-28> (third-party-advisory, vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-27815 · Whole record: https://cve.day/CVE-2021-27815.json · Rebuilt by cve.day 2026-11-25T22:58:00.808Z
