In NTFS-3G versions < 2021.8.22, when a specially crafted NTFS attribute is supplied to the function ntfs_get_attribute_value, a heap buffer overflow can occur allowing for memory disclosure or denial of service. The vulnerability is caused by an out-of-bound buffer access which can be triggered by mounting a crafted ntfs partition. The root cause is a missing consistency check after reading an MFT record : the "bytes_in_use" field should be less than the "bytes_allocated" field. When it is not, the parsing of the records proceeds into the wild.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-2819-1 ntfs-3g security update
Debian DSA Debian DSA DSA-4971-1 ntfs-3g security update
EUVD EUVD EUVD-2021-19996 In NTFS-3G versions < 2021.8.22, when a specially crafted NTFS attribute is supplied to the function ntfs_get_attribute_value, a heap buffer overflow can occur allowing for memory disclosure or denial of service. The vulnerability is caused by an out-of-bound buffer access which can be triggered by mounting a crafted ntfs partition. The root cause is a missing consistency check after reading an MFT record : the "bytes_in_use" field should be less than the "bytes_allocated" field. When it is not, the parsing of the records proceeds into the wild.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 03 Dec 2025 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-12-03T14:52:54.868Z

Reserved: 2021-05-20T00:00:00.000Z

Link: CVE-2021-33285

cve-icon Vulnrichment

Updated: 2024-08-03T23:42:20.414Z

cve-icon NVD

Status : Modified

Published: 2021-09-07T14:15:11.567

Modified: 2025-12-03T15:15:49.240

Link: CVE-2021-33285

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-08-30T00:00:00Z

Links: CVE-2021-33285 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses