{"schema_version":"1.9.0","id":"CVE-2022-40284","published":"2022-11-06T00:00:00Z","modified":"2026-08-12T13:33:18.239288Z","related":["ALSA-2023:5264","ALSA-2023:6167","SUSE-SU-2022:3865-1","SUSE-SU-2022:3866-1","openSUSE-SU-2024:12473-1"],"details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tuxera/ntfs-3g","events":[{"introduced":"0"},{"fixed":"78414d93613532fd82f3a82aba5d4a1c32898781"}],"database_specific":{"cpe":"cpe:2.3:a:tuxera:ntfs-3g:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"NTFS-3G"},{"fixed":"2022.10.3"},{"introduced":"0"}],"source":["DESCRIPTION","CPE_RANGE"]}}],"versions":["2022.5.17","2021.8.22","2021.8.14","2021.5.19","2017.3.23","2017.2.15","2016.2.22","2016.2.15","2015.3.14","2015.3.13","2015.3.5","2014.2.15","v2013_1_13","v2012_1_15","v2011_10_9_RC","v2011_4_12","v2011_4_11","v2011_4_10","v2011_3_28_RC","v2011_3_26","2011_3_26","N2010_10_2","N2010_8_8","N2010_7_23_RC","N2010_6_31_RC","N2010_6_30_RC","N2010_5_22","N2010_5_16","N2010_2_6","R2009_10_5_RC","N2009_10_03_104125","N2009_10_03_095644","PERMISSION_HANDLING_BASE_20070925","N1_913","N1_910_RC","N1_826","N1_810","N1_710","N1_616","N1_612_RC","N1_516","N1_417","N1_416","N1_411_RC","N1_328","N1_320_RC","N1_0","N0_20070207_RC1","N0_20070118_BETA","N0_20070116_BETA","N0_20070102_BETA","N0_20061218_BETA","N0_20061212_BETA","N2006_11_14_220946","N0_20061115_BETA","N2006_11_14_010037","N2006_11_11_220751","N2006_11_11_013125","N2006_11_11_010308","N2006_11_11_005720","N2006_11_08_233131","N2006_11_08_220332","N2006_11_07_011225","N0_20061031_BETA","start"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-40284.json","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["229114391697958096691432936098819842262","121519476808419324359138408051850792601","162880585381817795634419956231716962859"],"threshold":0.9},"id":"CVE-2022-40284-95bd24cb","signature_type":"Line","signature_version":"v1","source":"https://github.com/tuxera/ntfs-3g/commit/78414d93613532fd82f3a82aba5d4a1c32898781","target":{"file":"src/ntfs-3g.c"}},{"deprecated":false,"digest":{"line_hashes":["6026667066006274991699535869917555024","64192165873624888343770117488607838199","81121319675522598436247948911860345528"],"threshold":0.9},"id":"CVE-2022-40284-ae3f4538","signature_type":"Line","signature_version":"v1","source":"https://github.com/tuxera/ntfs-3g/commit/78414d93613532fd82f3a82aba5d4a1c32898781","target":{"file":"src/lowntfs-3g.c"}}],"vanir_signatures_modified":"2026-08-12T13:33:18Z"}}],"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2022/10/31/2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40284.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2BOQ7YLFT43KLXEN3EB6CS4DP635RJWP/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IA2D4PYOR7ABI7BWBMMMYKY2OPHTV2NI/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UGDKGXA4R2ZVUQ3CT4D4YGTFMNZQA7HW/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40284"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202301-01"},{"type":"PACKAGE","url":"https://github.com/tuxera/ntfs-3g/releases"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00029.html"}],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40284.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}