ntfs-3g — security advisory
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.
- Products
- ntfs-3g
- Affected versions
- Not specified
- Fixed versions
- 1:2021.8.22-2
- CVEs
- CVE-2021-33285
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:56 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2021-33285
ntfs-3g
Fixed versions: 1:2021.8.22-2
ntfs-3g
Fixed versions: 1:2021.8.22-2
ntfs-3g
Fixed versions: 1:2021.8.22-2
Complete source record
{
"id": "7c00e1ca24bf126447612039f4a91fc56ababb3a52caa9bf4de1a9b00b055bf0",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-33285",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-33285",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2021-33285",
"products": [
{
"name": {
"value": "ntfs-3g",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:2021.8.22-2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ntfs-3g",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:2021.8.22-2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ntfs-3g",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:2021.8.22-2",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2021-33285",
"aliases": [
"DEBIAN-CVE-2021-33285"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2021.8.22-2"
}
]
}
],
"package": {
"name": "ntfs-3g",
"purl": "pkg:deb/debian/ntfs-3g?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-33285.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2021.8.22-2"
}
]
}
],
"package": {
"name": "ntfs-3g",
"purl": "pkg:deb/debian/ntfs-3g?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-33285.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2021.8.22-2"
}
]
}
],
"package": {
"name": "ntfs-3g",
"purl": "pkg:deb/debian/ntfs-3g?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-33285.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:03:57.819185630Z",
"provider": "osv",
"upstream": [
"CVE-2021-33285"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-33285"
]
},
"related_cves": [
{
"value": "CVE-2021-33285",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 422768,
"published_at": "2021-09-07T14:15:11.567+00:00"
}