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
- 2022.10.3-r0
- CVEs
- CVE-2022-40284
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 14:17 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:ALPINE-CVE-2022-40284
ntfs-3g
Fixed versions: 2022.10.3-r0
ntfs-3g
Fixed versions: 2022.10.3-r0
ntfs-3g
Fixed versions: 2022.10.3-r0
ntfs-3g
Fixed versions: 2022.10.3-r0
ntfs-3g
Fixed versions: 2022.10.3-r0
ntfs-3g
Fixed versions: 2022.10.3-r0
ntfs-3g
Fixed versions: 2022.10.3-r0
ntfs-3g
Fixed versions: 2022.10.3-r0
Complete source record
{
"id": "a910dd1d3315c27beb5b0a8ca960742a307d24518206c3b3fabced2769bf6204",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2022-40284",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-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:ALPINE-CVE-2022-40284",
"products": [
{
"name": {
"value": "ntfs-3g",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2022.10.3-r0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ntfs-3g",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2022.10.3-r0",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ntfs-3g",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2022.10.3-r0",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ntfs-3g",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2022.10.3-r0",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ntfs-3g",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2022.10.3-r0",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ntfs-3g",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2022.10.3-r0",
"evidence": "/affected/5/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ntfs-3g",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2022.10.3-r0",
"evidence": "/affected/6/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ntfs-3g",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2022.10.3-r0",
"evidence": "/affected/7/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "ALPINE-CVE-2022-40284",
"aliases": [
"ALPINE-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": "2022.10.3-r0"
}
]
}
],
"package": {
"name": "ntfs-3g",
"purl": "pkg:apk/alpine/ntfs-3g?arch=source",
"ecosystem": "Alpine:v3.17"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2022.10.3-r0"
}
]
}
],
"package": {
"name": "ntfs-3g",
"purl": "pkg:apk/alpine/ntfs-3g?arch=source",
"ecosystem": "Alpine:v3.18"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2022.10.3-r0"
}
]
}
],
"package": {
"name": "ntfs-3g",
"purl": "pkg:apk/alpine/ntfs-3g?arch=source",
"ecosystem": "Alpine:v3.19"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2022.10.3-r0"
}
]
}
],
"package": {
"name": "ntfs-3g",
"purl": "pkg:apk/alpine/ntfs-3g?arch=source",
"ecosystem": "Alpine:v3.20"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2022.10.3-r0"
}
]
}
],
"package": {
"name": "ntfs-3g",
"purl": "pkg:apk/alpine/ntfs-3g?arch=source",
"ecosystem": "Alpine:v3.21"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2022.10.3-r0"
}
]
}
],
"package": {
"name": "ntfs-3g",
"purl": "pkg:apk/alpine/ntfs-3g?arch=source",
"ecosystem": "Alpine:v3.22"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2022.10.3-r0"
}
]
}
],
"package": {
"name": "ntfs-3g",
"purl": "pkg:apk/alpine/ntfs-3g?arch=source",
"ecosystem": "Alpine:v3.23"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2022.10.3-r0"
}
]
}
],
"package": {
"name": "ntfs-3g",
"purl": "pkg:apk/alpine/ntfs-3g?arch=source",
"ecosystem": "Alpine:v3.24"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-40284.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-15T07:17:54.248350801Z",
"provider": "osv",
"upstream": [
"CVE-2022-40284"
],
"references": [
"https://security.alpinelinux.org/vuln/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": 321955,
"published_at": "2022-11-06T23:15:09.463+00:00"
}