LiveActive security incident?Get immediate response
CVE Record

CVE-2021-37615: Null pointer dereference in Exiv2::Internal::resolveLens0x319

Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A null pointer dereference was found in Exiv2 versions v0.27.4 and earlier. The null pointer dereference is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p t` or `-P t`). The bug is fixed in version v0.27.5.

MediumCVSS 4.7Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-37615 can crash Exiv2 when it prints interpreted metadata from a malicious image. The business impact is denial of service, not data theft or code execution based on the provided sources. Exposure is narrower because a user or workflow must process an attacker-controlled image with the translated metadata print option enabled.

Executive priority

Treat this as a moderate availability risk. Patch during normal vulnerability remediation, faster for internet-facing or high-volume image-processing workflows. It is not supported by the provided evidence as an active exploitation or data compromise issue.

Technical view

Exiv2 v0.27.4 and earlier contain a null pointer dereference in Exiv2::Internal::resolveLens0x319. The fault is triggered while printing interpreted metadata using translated output options such as "-p t" or "-P t". CVSS 3.1 is 4.7 with high availability impact and no confidentiality or integrity impact.

Likely exposure

Systems are mainly exposed where Exiv2 or linked applications process untrusted image files and request interpreted metadata output. Automated image ingestion, forensic, DAM, CMS, or media-processing workflows should check whether Exiv2 is embedded or invoked with translated metadata printing.

Exploitation context

The source bundle does not show KEV listing or active exploitation. Exploitation requires attacker influence over an image file and user-assisted or local processing with a less common output mode. Evidence supports denial of service only.

Researcher notes

Key constraints are important: affected versions are v0.27.4 and earlier, trigger path is interpreted metadata printing, and the impact is a null pointer dereference. The sources do not provide evidence of remote code execution, credential exposure, or active exploitation.

Mitigation direction

  • Upgrade Exiv2 to v0.27.5 or a distributor-fixed package.
  • Apply Fedora, Gentoo, or other vendor security updates where applicable.
  • Disable translated metadata printing for untrusted files until patched.
  • Check vendor guidance for linked applications bundling Exiv2.
  • Prioritize workflows that process externally supplied images.

Validation and detection

  • Inventory Exiv2 versions on servers, workstations, containers, and build images.
  • Identify applications or scripts linking to libexiv2.
  • Review image-processing jobs for translated metadata print usage.
  • Confirm patched packages report versions newer than 0.27.4.
  • Verify distro advisories are applied on managed Linux hosts.
Prepared
Confidence
high
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-476: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-37615 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.7CVSS 3.1MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H13.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

4.7Medium
CVSS 3.1 vector shape for CVE-2021-37615Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Exiv2exiv2<= 0.27.4Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-476 · source CWE mapping

NULL Pointer Dereference

NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.