CVE-2021-39261
published 2021-09-07CVE-2021-39261: A crafted NTFS image can cause a heap-based buffer overflow in ntfs_compressed_pwrite in NTFS-3G < 2021.8.22.
PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.42%
34.0th percentile
A crafted NTFS image can cause a heap-based buffer overflow in ntfs_compressed_pwrite 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.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.9MEDIUMAV:L/AC:M/Au:N/C:C/I:C/A:C
osv7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
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 can cause a heap-based buffer overflow in ntfs_compressed_pwrite in NTFS-3G < 2021.8.22.
vendor_msrc·2021-09-14·CVSS 7.8
CVE-2021-39261 [HIGH] CWE-787 A crafted NTFS image can cause a heap-based buffer overflow in ntfs_compressed_pwrite in NTFS-3G < 2021.8.22.
A crafted NTFS image can cause a heap-based buffer overflow in ntfs_compressed_pwrite 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: Mariner
mitre: mitre
Customer Action Required: Yes
Remediation: CBL-Mariner
Red Hat
ntfs-3g: Heap buffer overflow in ntfs_compressed_pwrite()
vendor_redhat·2021-08-30·CVSS 7.8
CVE-2021-39261 [HIGH] CWE-119 ntfs-3g: Heap buffer overflow in ntfs_compressed_pwrite()
ntfs-3g: Heap buffer overflow in ntfs_compressed_pwrite()
A crafted NTFS image can cause a heap-based buffer overflow in ntfs_compressed_pwrite 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 to confidentiality, integrity, as well as 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) - Affected
Package: libguestfs-winsupport (Red Hat Enterprise Lin
Debian
CVE-2021-39261: ntfs-3g - A crafted NTFS image can cause a heap-based buffer overflow in ntfs_compressed_p...
vendor_debian·2021·CVSS 7.8
CVE-2021-39261 [HIGH] CVE-2021-39261: ntfs-3g - A crafted NTFS image can cause a heap-based buffer overflow in ntfs_compressed_p...
A crafted NTFS image can cause a heap-based buffer overflow in ntfs_compressed_pwrite 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-c9wv-mcc6-fp6m: A crafted NTFS image can cause a heap-based buffer overflow in ntfs_compressed_pwrite in NTFS-3G < 2021
ghsa_unreviewed·2022-05-24
CVE-2021-39261 [HIGH] CWE-20 GHSA-c9wv-mcc6-fp6m: A crafted NTFS image can cause a heap-based buffer overflow in ntfs_compressed_pwrite in NTFS-3G < 2021
A crafted NTFS image can cause a heap-based buffer overflow in ntfs_compressed_pwrite in NTFS-3G < 2021.8.22.
OSV
CVE-2021-39261: A crafted NTFS image can cause a heap-based buffer overflow in ntfs_compressed_pwrite in NTFS-3G < 2021
osv·2021-09-07·CVSS 7.8
CVE-2021-39261 [HIGH] CVE-2021-39261: A crafted NTFS image can cause a heap-based buffer overflow in ntfs_compressed_pwrite in NTFS-3G < 2021
A crafted NTFS image can cause a heap-based buffer overflow in ntfs_compressed_pwrite 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