CVE-2021-27815: NULL Pointer Deference in the exif command line tool, when printing out XML formatted EXIF data, in exif v0.6.
CVE-2021-27815 is a medium-severity flaw (CVSS 5.5) affecting exif, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 1.3% (top 30%) |
| CISA exploited list | No |
| Weakness | CWE-476 |
| Published | 2021-04-14 |
| 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-27815?
exif: upgrade to newer than 0.6.22; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-27815 being exploited?
CVE-2021-27815 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-27815 affect?
CVE-2021-27815 affects exif, fedora. Severity is medium (CVSS 5.5). 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
How urgent is CVE-2021-27815?
Priority 42/100. Public exploit reference
Related CVEs
- CVE-2012-2845 MEDIUM 6.4 DOWNGRADE Integer overflow in the jpeg_data_load_data function in jpeg-data.c in libjpeg in exif 0.6.20 allows remote at
- CVE-2009-1501 MEDIUM 4.3 DOWNGRADE Cross-site scripting (XSS) vulnerability in the Exif module 5.x-1.x before 5.x-1.2 and 6.x-1.x-dev before Apri