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."
References (9)
Core 9
Core References
Mailing List vendor-advisory
x_refsource_suse
http://lists.opensuse.org/opensuse-updates/2016-06/msg00001.html
Patch x_refsource_confirm
https://github.com/dosfstools/dosfstools/releases/tag/v4.0
Vendor Advisory x_refsource_confirm
https://github.com/dosfstools/dosfstools/issues/12
Vendor Advisory x_refsource_misc
https://blog.fuzzing-project.org/44-dosfstools-fsck.vfat-Several-invalid-memory-accesses.html
Vendor Advisory vendor-advisory
x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-2986-1
Patch x_refsource_confirm
https://github.com/dosfstools/dosfstools/commit/07908124838afcc99c577d1d3e84cef2dbd39cb7
Mailing List vendor-advisory
x_refsource_suse
http://lists.opensuse.org/opensuse-updates/2016-09/msg00014.html
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/90311
Mailing List mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2020/05/msg00028.html
Scores
CVSS v3
6.2
EPSS
0.0009
EPSS Percentile
25.6%
Attack Vector
LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-189
Status
published
Products (7)
canonical/ubuntu_linux
12.04
canonical/ubuntu_linux
14.04
canonical/ubuntu_linux
15.10
canonical/ubuntu_linux
16.04
dosfstools_project/dosfstools
< 3.0.28
opensuse/leap
42.1
opensuse/opensuse
13.2
Published
Jun 03, 2016
Tracked Since
Feb 18, 2026