CVE-2021-39257
Alma Linux vulnerability analysis and mitigation

Overview

A crafted NTFS image with an unallocated bitmap can lead to an endless recursive function call chain (starting from ntfsattrpwrite), causing stack consumption in NTFS-3G versions prior to 2021.8.22. This vulnerability was discovered and disclosed in August 2021, affecting the NTFS-3G driver, which is a read-write NTFS driver for FUSE (Debian Security, Ubuntu Security).

Technical details

The vulnerability has been assigned a CVSS v3 score of 5.5 (Medium), with the following characteristics: Attack Vector: Local, Attack Complexity: Low, Privileges Required: Low, User Interaction: None, Scope: Unchanged, Confidentiality: None, Integrity: None, Availability: High. The technical issue stems from improper validation of NTFS metadata that could potentially cause buffer overflows when processing unallocated bitmaps (GitHub Advisory).

Impact

The vulnerability affects the availability of the system by causing stack consumption through an endless recursive function call chain. When exploited, this could lead to a denial of service condition. The impact is particularly significant when the ntfs-3g binary is running with elevated privileges (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in NTFS-3G version 2021.8.22. Users and administrators are strongly advised to upgrade to this version or later. Multiple distributions have released security updates to address this vulnerability, including Debian (version 1:2017.3.23AR.3-4+deb11u1), Ubuntu, and Gentoo (Debian Security, Gentoo Security).

Additional resources


SourceThis report was generated using AI

Related Alma Linux vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13020HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesNov 11, 2025
CVE-2025-59088HIGH8.6
  • Rocky LinuxRocky Linux
  • idm:DL1::ipa-selinux
NoYesNov 12, 2025
CVE-2025-13019HIGH8.1
  • NixOSNixOS
  • thunderbird
NoYesNov 11, 2025
CVE-2025-13018HIGH8.1
  • NixOSNixOS
  • MozillaFirefox-translations-other
NoYesNov 11, 2025
CVE-2025-59089MEDIUM5.9
  • Rocky LinuxRocky Linux
  • python3-ipatests
NoYesNov 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