Every CVE Search/ Get API key

CVE-2021-27815

NULL Pointer Deference in the "actions.c" library of libexif exif v0.6.22 allows attackers to...

5.5 MediumFix available

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

1.27%Up 0.8 points since Apr 15, 2021
90%50%10%1%

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 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
exif
Debian:12
before 0.6.22-3
0.6.22-3
exif
Debian:13
before 0.6.22-3
0.6.22-3
exif
Debian:14
before 0.6.22-3
0.6.22-3
exif
Mageia:7
before 0.6.22-1.1.mga7
0.6.22-1.1.mga7
exif
Mageia:8
before 0.6.22-1.1.mga8
0.6.22-1.1.mga8
exif
Ubuntu:22.04:LTS
All versions, plus listed versions
0.6.22-2
None known
exif
Ubuntu:24.04:LTS
All versions, plus listed versions
0.6.22-30.6.22-3build1
None known
exif
Ubuntu:25.10
All versions, plus listed versions
0.6.22-4
None known
exif
Ubuntu:26.10
All versions, plus listed versions
0.6.22-4build1
None known
exif
Ubuntu:26.04:LTS
All versions, plus listed versions
0.6.22-40.6.22-4build1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 12 moreShow less
MoveEnter Open