CVE-2021-39257
published 2021-09-07CVE-2021-39257: A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack consumption…
PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.37%
29.0th percentile
A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack consumption in NTFS-3G < 2021.8.22.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | ntfs-3g | < ntfs-3g 1:2021.8.22-2 (bookworm) | ntfs-3g 1:2021.8.22-2 (bookworm) |
| msrc | cbl2_ntfs-3g_2021.8.22-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| tuxera | ntfs-3g | < 2021.8.22 | 2021.8.22 |
| tuxera | ntfs-3g | >= 0 < 1:2017.3.23AR.3-4+deb11u1 | 1:2017.3.23AR.3-4+deb11u1 |
| tuxera | ntfs-3g | >= 0 < 1:2021.8.22-2 | 1:2021.8.22-2 |
| tuxera | ntfs-3g | >= 0 < 1:2021.8.22-2 | 1:2021.8.22-2 |
| tuxera | ntfs-3g | >= 0 < 1:2021.8.22-2 | 1:2021.8.22-2 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.04.7MEDIUMAV:L/AC:M/Au:N/C:N/I:N/A:C
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite) causing stack consumption in NTFS-3G < 2021.8.22.
vendor_msrc·2021-09-14·CVSS 5.5
CVE-2021-39257 [MEDIUM] CWE-674 A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite) causing stack consumption in NTFS-3G < 2021.8.22.
A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite) causing stack consumption in NTFS-3G Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Marin
Red Hat
ntfs-3g: Endless recursion from ntfs_attr_pwrite() triggered by an unallocated bitmap
vendor_redhat·2021-08-30·CVSS 5.5
CVE-2021-39257 [MEDIUM] CWE-119 ntfs-3g: Endless recursion from ntfs_attr_pwrite() triggered by an unallocated bitmap
ntfs-3g: Endless recursion from ntfs_attr_pwrite() triggered by an unallocated bitmap
A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack consumption in NTFS-3G < 2021.8.22.
The ntfs3g package is susceptible to a heap overflow on crafted input. When processing an NTFS image, proper bounds checking was not enforced leading to this software flaw. The highest threat from this vulnerability is system availability.
Package: libguestfs-winsupport (Red Hat Enterprise Linux 7) - Out of support scope
Package: virt:8.2/libguestfs-winsupport (Red Hat Enterprise Linux 8 Advanced Virtualization) - Affected
Package: virt:av/libguestfs-winsupport (Red Hat Enterprise Linux 8 Advanced Virtualization) - Affe
Debian
CVE-2021-39257: ntfs-3g - A crafted NTFS image with an unallocated bitmap can lead to a endless recursive ...
vendor_debian·2021·CVSS 5.5
CVE-2021-39257 [MEDIUM] CVE-2021-39257: ntfs-3g - A crafted NTFS image with an unallocated bitmap can lead to a endless recursive ...
A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack consumption in NTFS-3G < 2021.8.22.
Scope: local
bookworm: resolved (fixed in 1:2021.8.22-2)
bullseye: resolved (fixed in 1:2017.3.23AR.3-4+deb11u1)
forky: resolved (fixed in 1:2021.8.22-2)
sid: resolved (fixed in 1:2021.8.22-2)
trixie: resolved (fixed in 1:2021.8.22-2)
GHSA
GHSA-c7hf-64rq-w8mm: A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack co
ghsa_unreviewed·2022-05-24
CVE-2021-39257 [MEDIUM] CWE-674 GHSA-c7hf-64rq-w8mm: A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack co
A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack consumption in NTFS-3G < 2021.8.22.
OSV
CVE-2021-39257: A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack co
osv·2021-09-07·CVSS 5.5
CVE-2021-39257 [MEDIUM] CVE-2021-39257: A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack co
A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack consumption in NTFS-3G < 2021.8.22.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/tuxera/ntfs-3g/releaseshttps://github.com/tuxera/ntfs-3g/security/advisories/GHSA-q759-8j5v-q5jphttps://lists.debian.org/debian-lts-announce/2021/11/msg00013.htmlhttps://security.gentoo.org/glsa/202301-01https://www.debian.org/security/2021/dsa-4971https://github.com/tuxera/ntfs-3g/releaseshttps://github.com/tuxera/ntfs-3g/security/advisories/GHSA-q759-8j5v-q5jphttps://lists.debian.org/debian-lts-announce/2021/11/msg00013.htmlhttps://security.gentoo.org/glsa/202301-01https://www.debian.org/security/2021/dsa-4971
2021-09-07
Published