CVE-2015-8872

Summary

CVECVE-2015-8872
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-06-03 14:59:00 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionThe 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."

Risk And Classification

Primary CVSS: v3.0 6.2 MEDIUM from [email protected]

CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Problem Types: CWE-189 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary6.2MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
2.0[email protected]Primary2.1AV:L/AC:L/Au:N/C:N/I:N/A:P

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial

AV:L/AC:L/Au:N/C:N/I:N/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 15.10 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Application Dosfstools Project Dosfstools All All All All
Operating System Opensuse Leap 42.1 All All All
Operating System Opensuse Opensuse 13.2 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
USN-2986-1: dosfstools vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
dosfstools Multiple Security Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
openSUSE-SU-2016:1461-1: moderate: Security update for dosfstools af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
[SECURITY] [DLA 2224-1] dosfstools security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
fsck.vfat invalid memory access in get_fat · Issue #12 · dosfstools/dosfstools · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Vendor Advisory
set_fat(): Fix off-by-2 error leading to corruption in FAT12 · dosfstools/dosfstools@0790812 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com
openSUSE-SU-2016:2233-1: moderate: Security update for dosfstools af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Release dosfstools 4.0 · dosfstools/dosfstools · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch
dosfstools / fsck.vfat: Several invalid memory accesses | The Fuzzing Project af854a3a-2127-422b-91ae-364da2661108 blog.fuzzing-project.org Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report