ntfs-3g — security advisory
A buffer overflow was discovered in NTFS-3G before 2022.10.3. Crafted metadata in an NTFS image can cause code execution. A local attacker can exploit this if the ntfs-3g binary is setuid root. A physically proximate attacker can exploit this if NTFS-3G software is configured to execute upon attachment of an external storage device.
- Products
- ntfs-3g
- Affected versions
- Not specified
- Fixed versions
- 1:2022.10.3-1
- CVEs
- CVE-2022-40284
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 14:45 UTC · Revision 1
Source evidence
A buffer overflow was discovered in NTFS-3G before 2022.10.3. Crafted metadata in an NTFS image can cause code execution. A local attacker can exploit this if the ntfs-3g binary is setuid root. A physically proximate attacker can exploit this if NTFS-3G software is configured to execute upon attachment of an external storage device.
osv:DEBIAN-CVE-2022-40284
ntfs-3g
Fixed versions: 1:2022.10.3-1
ntfs-3g
Fixed versions: 1:2022.10.3-1
ntfs-3g
Fixed versions: 1:2022.10.3-1
Complete source record
{
"id": "cab68f17f87c6920e729fdc8b8a4704b8185f6d7ade91cc322e72017ffc2fdf7",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-40284",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2022-40284",
"summary": "A buffer overflow was discovered in NTFS-3G before 2022.10.3. Crafted metadata in an NTFS image can cause code execution. A local attacker can exploit this if the ntfs-3g binary is setuid root. A physically proximate attacker can exploit this if NTFS-3G software is configured to execute upon attachment of an external storage device.",
"evidence": "osv:DEBIAN-CVE-2022-40284",
"products": [
{
"name": {
"value": "ntfs-3g",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:2022.10.3-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ntfs-3g",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:2022.10.3-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ntfs-3g",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:2022.10.3-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2022-40284",
"aliases": [
"DEBIAN-CVE-2022-40284"
],
"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:2022.10.3-1"
}
]
}
],
"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-2022-40284.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2022.10.3-1"
}
]
}
],
"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-2022-40284.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2022.10.3-1"
}
]
}
],
"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-2022-40284.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T08:01:58.381984722Z",
"provider": "osv",
"upstream": [
"CVE-2022-40284"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2022-40284"
]
},
"related_cves": [
{
"value": "CVE-2022-40284",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 323218,
"published_at": "2022-11-06T23:15:09.463+00:00"
}