CVE-2021-29338
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-29338 is a vulnerability discovered in OpenJPEG v2.4.0, reported on March 24, 2021. The vulnerability is an integer overflow that affects the command line option '-ImgDir' functionality. This security flaw impacts the OpenJPEG library, which is an open-source JPEG 2000 codec (CVE Details, Ubuntu Security).

Technical details

The vulnerability is characterized by an integer overflow condition that occurs when processing directory contents using the '-ImgDir' command line option. Specifically, the overflow is triggered when the target directory contains 1048576 files. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium), with the following vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (Ubuntu Security).

Impact

When successfully exploited, this vulnerability allows remote attackers to crash the application, resulting in a Denial of Service (DoS). The impact primarily affects system availability, with no direct impact on confidentiality or integrity of the system (CVE Details, Debian Security).

Mitigation and workarounds

Multiple vendors have released patches to address this vulnerability. Ubuntu has fixed the issue in version 2.4.0-6ubuntu0.2 for 22.04 LTS and 2.3.1-1ubuntu4.20.04.3 for 20.04 LTS. Debian has addressed it in version 2.1.2-1.1+deb9u7. Fedora has also released updates to address this vulnerability in their repositories (Ubuntu Security, Debian Security, 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:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • rhel10::firefox-flatpak
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-67730MEDIUM5.1
  • NixOSNixOS
  • learning
NoYesDec 12, 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