{"api_version":"1","generated_at":"2026-07-23T05:43:58+00:00","cve":"CVE-2015-8872","urls":{"html":"https://cve.report/CVE-2015-8872","api":"https://cve.report/api/cve/CVE-2015-8872.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-8872","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-8872"},"summary":{"title":"CVE-2015-8872","description":"The set_fat function in fat.c in dosfstools before 4.0 might allow attackers to corrupt a FAT12 filesystem or cause a denial of service (invalid memory read and crash) by writing an odd number of clusters to the third to last entry on a FAT12 filesystem, which triggers an \"off-by-two error.\"","state":"PUBLISHED","assigner":"mitre","published_at":"2016-06-03 14:59:00","updated_at":"2026-05-06 22:30:45"},"problem_types":["CWE-189","n/a"],"metrics":[{"version":"3.0","source":"nvd@nist.gov","type":"Primary","score":"6.2","severity":"MEDIUM","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":6.2,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"2.1","severity":"","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:N/A:P","baseScore":2.1,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.ubuntu.com/usn/USN-2986-1","name":"http://www.ubuntu.com/usn/USN-2986-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-2986-1: dosfstools vulnerabilities | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/90311","name":"http://www.securityfocus.com/bid/90311","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"dosfstools Multiple Security Vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://lists.opensuse.org/opensuse-updates/2016-06/msg00001.html","name":"http://lists.opensuse.org/opensuse-updates/2016-06/msg00001.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"openSUSE-SU-2016:1461-1: moderate: Security update for dosfstools","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00028.html","name":"https://lists.debian.org/debian-lts-announce/2020/05/msg00028.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] [DLA 2224-1] dosfstools security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/dosfstools/dosfstools/issues/12","name":"https://github.com/dosfstools/dosfstools/issues/12","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"fsck.vfat invalid memory access in get_fat · Issue #12 · dosfstools/dosfstools · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/dosfstools/dosfstools/commit/07908124838afcc99c577d1d3e84cef2dbd39cb7","name":"https://github.com/dosfstools/dosfstools/commit/07908124838afcc99c577d1d3e84cef2dbd39cb7","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"set_fat(): Fix off-by-2 error leading to corruption in FAT12 · dosfstools/dosfstools@0790812 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-updates/2016-09/msg00014.html","name":"http://lists.opensuse.org/opensuse-updates/2016-09/msg00014.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"openSUSE-SU-2016:2233-1: moderate: Security update for dosfstools","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/dosfstools/dosfstools/releases/tag/v4.0","name":"https://github.com/dosfstools/dosfstools/releases/tag/v4.0","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"Release dosfstools 4.0 · dosfstools/dosfstools · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://blog.fuzzing-project.org/44-dosfstools-fsck.vfat-Several-invalid-memory-accesses.html","name":"https://blog.fuzzing-project.org/44-dosfstools-fsck.vfat-Several-invalid-memory-accesses.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"dosfstools / fsck.vfat: Several invalid memory accesses | The Fuzzing Project","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-8872","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-8872","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2015","cve_id":"8872","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"12.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"8872","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"14.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"8872","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"15.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"8872","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"16.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"8872","vulnerable":"1","versionEndIncluding":"3.0.28","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"dosfstools_project","cpe5":"dosfstools","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"8872","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"leap","cpe6":"42.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"8872","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"opensuse","cpe6":"13.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T08:29:22.096Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"openSUSE-SU-2016:1461","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-updates/2016-06/msg00001.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/dosfstools/dosfstools/releases/tag/v4.0"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/dosfstools/dosfstools/issues/12"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://blog.fuzzing-project.org/44-dosfstools-fsck.vfat-Several-invalid-memory-accesses.html"},{"name":"USN-2986-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/USN-2986-1"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/dosfstools/dosfstools/commit/07908124838afcc99c577d1d3e84cef2dbd39cb7"},{"name":"openSUSE-SU-2016:2233","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-updates/2016-09/msg00014.html"},{"name":"90311","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/90311"},{"name":"[debian-lts-announce] 20200530 [SECURITY] [DLA 2224-1] dosfstools security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00028.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2016-05-08T00:00:00.000Z","descriptions":[{"lang":"en","value":"The set_fat function in fat.c in dosfstools before 4.0 might allow attackers to corrupt a FAT12 filesystem or cause a denial of service (invalid memory read and crash) by writing an odd number of clusters to the third to last entry on a FAT12 filesystem, which triggers an \"off-by-two error.\""}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2020-05-30T17:06:05.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"openSUSE-SU-2016:1461","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-updates/2016-06/msg00001.html"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/dosfstools/dosfstools/releases/tag/v4.0"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/dosfstools/dosfstools/issues/12"},{"tags":["x_refsource_MISC"],"url":"https://blog.fuzzing-project.org/44-dosfstools-fsck.vfat-Several-invalid-memory-accesses.html"},{"name":"USN-2986-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/USN-2986-1"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/dosfstools/dosfstools/commit/07908124838afcc99c577d1d3e84cef2dbd39cb7"},{"name":"openSUSE-SU-2016:2233","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-updates/2016-09/msg00014.html"},{"name":"90311","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/90311"},{"name":"[debian-lts-announce] 20200530 [SECURITY] [DLA 2224-1] dosfstools security update","tags":["mailing-list","x_refsource_MLIST"],"url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00028.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2015-8872","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The set_fat function in fat.c in dosfstools before 4.0 might allow attackers to corrupt a FAT12 filesystem or cause a denial of service (invalid memory read and crash) by writing an odd number of clusters to the third to last entry on a FAT12 filesystem, which triggers an \"off-by-two error.\""}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"openSUSE-SU-2016:1461","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-updates/2016-06/msg00001.html"},{"name":"https://github.com/dosfstools/dosfstools/releases/tag/v4.0","refsource":"CONFIRM","url":"https://github.com/dosfstools/dosfstools/releases/tag/v4.0"},{"name":"https://github.com/dosfstools/dosfstools/issues/12","refsource":"CONFIRM","url":"https://github.com/dosfstools/dosfstools/issues/12"},{"name":"https://blog.fuzzing-project.org/44-dosfstools-fsck.vfat-Several-invalid-memory-accesses.html","refsource":"MISC","url":"https://blog.fuzzing-project.org/44-dosfstools-fsck.vfat-Several-invalid-memory-accesses.html"},{"name":"USN-2986-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-2986-1"},{"name":"https://github.com/dosfstools/dosfstools/commit/07908124838afcc99c577d1d3e84cef2dbd39cb7","refsource":"CONFIRM","url":"https://github.com/dosfstools/dosfstools/commit/07908124838afcc99c577d1d3e84cef2dbd39cb7"},{"name":"openSUSE-SU-2016:2233","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-updates/2016-09/msg00014.html"},{"name":"90311","refsource":"BID","url":"http://www.securityfocus.com/bid/90311"},{"name":"[debian-lts-announce] 20200530 [SECURITY] [DLA 2224-1] dosfstools security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00028.html"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2015-8872","datePublished":"2016-06-03T14:00:00.000Z","dateReserved":"2016-05-14T00:00:00.000Z","dateUpdated":"2024-08-06T08:29:22.096Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2016-06-03 14:59:00","lastModifiedDate":"2026-05-06 22:30:45","problem_types":["CWE-189","n/a"],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":6.2,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.5,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:N/A:P","baseScore":2.1,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"},"baseSeverity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*","matchCriteriaId":"B6B7CAD7-9D4E-4FDB-88E3-1E583210A01F"},{"vulnerable":true,"criteria":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","matchCriteriaId":"B5A6F2F3-4894-4392-8296-3B8DD2679084"},{"vulnerable":true,"criteria":"cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*","matchCriteriaId":"E88A537F-F4D0-46B9-9E37-965233C2A355"},{"vulnerable":true,"criteria":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","matchCriteriaId":"F7016A2A-8365-4F1A-89A2-7A19F2BCAE5B"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*","matchCriteriaId":"4863BE36-D16A-4D75-90D9-FD76DB5B48B7"},{"vulnerable":true,"criteria":"cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*","matchCriteriaId":"03117DF1-3BEC-4B8D-AD63-DBBDB2126081"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:dosfstools_project:dosfstools:*:*:*:*:*:*:*:*","versionEndIncluding":"3.0.28","matchCriteriaId":"6A02C944-1F02-4007-B4C2-E4751D47AE17"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2015","CveId":"8872","Ordinal":"1","Title":"CVE-2015-8872","CVE":"CVE-2015-8872","Year":"2015"},"notes":[{"CveYear":"2015","CveId":"8872","Ordinal":"1","NoteData":"The set_fat function in fat.c in dosfstools before 4.0 might allow attackers to corrupt a FAT12 filesystem or cause a denial of service (invalid memory read and crash) by writing an odd number of clusters to the third to last entry on a FAT12 filesystem, which triggers an \"off-by-two error.\"","Type":"Description","Title":"CVE-2015-8872"},{"CveYear":"2015","CveId":"8872","Ordinal":"2","NoteData":"2016-06-03","Type":"Other","Title":"Published"},{"CveYear":"2015","CveId":"8872","Ordinal":"3","NoteData":"2020-05-30","Type":"Other","Title":"Modified"}]}}}