CVE-2021-39254
published 2021-09-07CVE-2021-39254: A crafted NTFS image can cause an integer overflow in memmove, leading to a heap-based buffer overflow in the function ntfs_attr_record_resize, in NTFS-3G <…
PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.40%
32.3th percentile
A crafted NTFS image can cause an integer overflow in memmove, leading to a heap-based buffer overflow in the function ntfs_attr_record_resize, in NTFS-3G < 2021.8.22.
Affected
14 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) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| 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.
GHSA
GHSA-j6xg-g9vq-x958: A crafted NTFS image can cause an integer overflow in memmove, leading to a heap-based buffer overflow in the function ntfs_attr_record_resize, in NTF
ghsa_unreviewed·2022-05-24
CVE-2021-39254 [HIGH] CWE-190 GHSA-j6xg-g9vq-x958: A crafted NTFS image can cause an integer overflow in memmove, leading to a heap-based buffer overflow in the function ntfs_attr_record_resize, in NTF
A crafted NTFS image can cause an integer overflow in memmove, leading to a heap-based buffer overflow in the function ntfs_attr_record_resize, in NTFS-3G < 2021.8.22.
OSV
CVE-2021-39254: A crafted NTFS image can cause an integer overflow in memmove, leading to a heap-based buffer overflow in the function ntfs_attr_record_resize, in NTF
osv·2021-09-07·CVSS 7.8
CVE-2021-39254 [HIGH] CVE-2021-39254: A crafted NTFS image can cause an integer overflow in memmove, leading to a heap-based buffer overflow in the function ntfs_attr_record_resize, in NTF
A crafted NTFS image can cause an integer overflow in memmove, leading to a heap-based buffer overflow in the function ntfs_attr_record_resize, in NTFS-3G < 2021.8.22.
Microsoft
A crafted NTFS image can cause an integer overflow in memmove leading to a heap-based buffer overflow in the function ntfs_attr_record_resize in NTFS-3G < 2021.8.22.
vendor_msrc·2021-09-14·CVSS 7.8
CVE-2021-39254 [HIGH] CWE-190 A crafted NTFS image can cause an integer overflow in memmove leading to a heap-based buffer overflow in the function ntfs_attr_record_resize in NTFS-3G < 2021.8.22.
A crafted NTFS image can cause an integer overflow in memmove leading to a heap-based buffer overflow in the function ntfs_attr_record_resize 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
Red Hat
ntfs-3g: Integer overflow in memmove() leading to heap buffer overflow in ntfs_attr_record_resize()
vendor_redhat·2021-08-30·CVSS 7.8
CVE-2021-39254 [HIGH] CWE-119 ntfs-3g: Integer overflow in memmove() leading to heap buffer overflow in ntfs_attr_record_resize()
ntfs-3g: Integer overflow in memmove() leading to heap buffer overflow in ntfs_attr_record_resize()
A crafted NTFS image can cause an integer overflow in memmove, leading to a heap-based buffer overflow in the function ntfs_attr_record_resize, in NTFS-3G < 2021.8.22.
The ntfs3g package is susceptible to an input validation flaw. A crafted NTFS image with invalid values could trigger an improper check. This incorrect check causes an integer overflow which then leads to a heap overflow. 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:
Debian
CVE-2021-39254: ntfs-3g - A crafted NTFS image can cause an integer overflow in memmove, leading to a heap...
vendor_debian·2021·CVSS 7.8
CVE-2021-39254 [HIGH] CVE-2021-39254: ntfs-3g - A crafted NTFS image can cause an integer overflow in memmove, leading to a heap...
A crafted NTFS image can cause an integer overflow in memmove, leading to a heap-based buffer overflow in the function ntfs_attr_record_resize, 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)
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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/766ISTT3KCARKFUIQT7N6WV6T63XOKG3/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSEKTKHO5HFZHWZNJNBJZA56472KRUZI/https://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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/766ISTT3KCARKFUIQT7N6WV6T63XOKG3/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSEKTKHO5HFZHWZNJNBJZA56472KRUZI/https://security.gentoo.org/glsa/202301-01https://www.debian.org/security/2021/dsa-4971
2021-09-07
Published