CVE-2021-27815
NULL Pointer Deference in the "actions.c" library of libexif exif v0.6.22 allows attackers to...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
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 crash.
- Record
CVE-2021-27815- 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 - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-27815- Updated
- 2026-11-02
EUVDEUVD-2021-14555 No score
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.
- Record
EUVD-2021-14555- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-f35c-rqpm-6c5v
5.5
NULL Pointer Deference in the "actions.c" library of libexif exif v0.6.22 allows attackers to...
NULL Pointer Deference in the "actions.c" library of libexif exif v0.6.22 allows attackers to cause a Denial of Service (DoS) by uploading a malicious JPEG file, causing the application to crash.
- Record
GHSA-f35c-rqpm-6c5v- 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 - Weakness
- CWE-476
- Updated
- 2026-11-02
OSV
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 crash.
- Record
CVE-2021-27815- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-27815
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 crash.
- Record
DEBIAN-CVE-2021-27815- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-27815
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 crash.
- Record
UBUNTU-CVE-2021-27815- 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 - Updated
- 2026-11-02
OSVMGASA-2021-0252 No score
Updated exif packages fix a security vulnerability
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. (CVE-2021-27815).
- Record
MGASA-2021-0252- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
exifDebian:12 |
before 0.6.22-3 | 0.6.22-3 |
exifDebian:13 |
before 0.6.22-3 | 0.6.22-3 |
exifDebian:14 |
before 0.6.22-3 | 0.6.22-3 |
exifMageia:7 |
before 0.6.22-1.1.mga7 | 0.6.22-1.1.mga7 |
exifMageia:8 |
before 0.6.22-1.1.mga8 | 0.6.22-1.1.mga8 |
exifUbuntu:22.04:LTS |
All versions, plus listed versions 0.6.22-2 |
None known |
exifUbuntu:24.04:LTS |
All versions, plus listed versions 0.6.22-30.6.22-3build1 |
None known |
exifUbuntu:25.10 |
All versions, plus listed versions 0.6.22-4 |
None known |
exifUbuntu:26.10 |
All versions, plus listed versions 0.6.22-4build1 |
None known |
exifUbuntu:26.04:LTS |
All versions, plus listed versions 0.6.22-40.6.22-4build1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-27815 is a medium vulnerability (CVSS 5.5) in Libexif Project Exif, published April 14, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.27%, the 69th percentile. Fixed in exif 0.6.22-3.
References
github.com/libexif/exif/issues/4
github.com/libexif/exif/commit/f6334d9d32437ef13dc902f0a88a2be0063d9d1c
github.com/libexif/exif/commit/eb84b0e3c5f2a86013b6fcfb800d187896a648fa
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JSWAXZVNXYLV3E4R6YQTEGRGMGWEAR76
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZQ3L45F7S7PQPG5HEHXOCGNOO64MJOS
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QMC6OTXZRPCUD3LOSWO4ISR7CH7NJQDT
Show 12 moreShow less
security.gentoo.org/glsa/202210-28
nvd.nist.gov/vuln/detail/CVE-2021-27815
lists.fedoraproject.org/archives/list/[email protected]/message/JSWAXZVNXYLV3E4R6YQTEGRGMGWEAR76
lists.fedoraproject.org/archives/list/[email protected]/message/QMC6OTXZRPCUD3LOSWO4ISR7CH7NJQDT
lists.fedoraproject.org/archives/list/[email protected]/message/YZQ3L45F7S7PQPG5HEHXOCGNOO64MJOS
github.com/advisories/GHSA-f35c-rqpm-6c5v
security-tracker.debian.org/tracker/CVE-2021-27815
advisories.mageia.org/MGASA-2021-0252.html
bugs.mageia.org/show_bug.cgi?id=29038
lists.fedoraproject.org/archives/list/[email protected]/thread/QMC6OTXZRPCUD3LOSWO4ISR7CH7NJQDT
ubuntu.com/security/CVE-2021-27815
cve.org/CVERecord?id=CVE-2021-27815