CVE-2021-33646
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-33646 is a memory leak vulnerability discovered in libtar, a C library for manipulating tar archives. The vulnerability exists in the th_read() function where a variable t->th_buf.gnu_longname is not properly freed after memory allocation (CVE, Debian Tracker).

Technical details

The vulnerability occurs in the th_read() function of libtar, which fails to free the t->th_buf.gnu_longname variable after allocating memory. This implementation flaw can result in memory leaks during the processing of tar archives (CVE).

Impact

When exploited, this vulnerability can cause memory leaks in the system running the affected libtar library, potentially leading to resource exhaustion over time (Fedora Update).

Mitigation and workarounds

Multiple Linux distributions have released patches to address this vulnerability. Fedora has released updates (libtar-1.2.20-25) that fix the memory leaks through gnu_longname. Debian has also provided fixes in version 1.2.20-8+deb12u1 for bookworm and 1.2.20-8+deb12u1~deb11u1 for bullseye (Fedora Update, Debian Tracker).

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-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

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