CVE-2021-29470
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-29470 affects Exiv2, a command-line utility and C++ library for reading, writing, deleting, and modifying image file metadata. The vulnerability was discovered in versions v0.27.3 and earlier, and was fixed in version v0.27.4 (GitHub Advisory).

Technical details

The vulnerability is an out-of-bounds read in the Exiv2::Jp2Image::encodeJp2Header function. This issue is only triggered when writing metadata to image files, which is a less common operation than reading metadata. To trigger the vulnerability in the command-line application, additional arguments such as 'insert' are required (GitHub Advisory). The vulnerability has been assigned a CVSS v3.1 base score of 6.5 MEDIUM by NVD and 4.7 MEDIUM by GitHub (NVD).

Impact

An attacker could potentially exploit this vulnerability to cause a denial of service by crashing Exiv2 if they can trick the victim into running Exiv2 on a specially crafted image file (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Exiv2 version v0.27.4. Users should upgrade to this version or later to address the issue (GitHub Advisory). Various Linux distributions have also released security updates to address this vulnerability (Fedora Update).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • firefox-x11
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-x11
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management