CVE-2015-8872
publisheddosfstools: Off-by-2 error leading to corruption in FAT12
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | dosfstools | Advisory build | 3.0.27-1+deb8u1 | DLA-2224-1 |
| SUSE / openSUSE | SLE-11-SP4 | dosfstoolsi586 | Advisory build | 3.0.26-3.1 | SUSE-SU-2016:2146-1 |
| Ubuntu | trusty | dosfstools | Advisory build | 3.0.26-1ubuntu0.1 | USN-2986-1 |
| Debian | wheezy | dosfstools | Advisory build | 3.0.13-1+deb7u1 | DLA-474-1 |
| SUSE / openSUSE | SLE-11-SP4 | dosfstoolsia64 | Advisory build | 3.0.26-3.1 | SUSE-SU-2016:2146-1 |
| SUSE / openSUSE | SLE-11-SP4 | dosfstoolsppc64 | Advisory build | 3.0.26-3.1 | SUSE-SU-2016:2146-1 |
| SUSE / openSUSE | SLE-11-SP4 | dosfstoolss390x | Advisory build | 3.0.26-3.1 | SUSE-SU-2016:2146-1 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-11-SP4 | dosfstoolsx86_64 | Advisory build | 3.0.26-3.1 | SUSE-SU-2016:2146-1 |
| SUSE / openSUSE | SLE-12-SP1 | dosfstoolsppc64le | Advisory build | 3.0.26-6.5 | SUSE-SU-2016:2145-1 |
| SUSE / openSUSE | SLE-12-SP1 | dosfstoolss390x | Advisory build | 3.0.26-6.5 | SUSE-SU-2016:2145-1 |
| SUSE / openSUSE | SLE-12-SP1 | dosfstoolsx86_64 | Advisory build | 3.0.26-6.5 | SUSE-SU-2016:2145-1 |
| Ubuntu | xenial | dosfstools | Advisory build | 3.0.28-2ubuntu0.1 | USN-2986-1 |
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."
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
9- openSUSE-SU-2016:1461 http://lists.opensuse.org/opensuse-updates/2016-06/msg00001.html
- openSUSE-SU-2016:2233 http://lists.opensuse.org/opensuse-updates/2016-09/msg00014.html
- 90311 http://www.securityfocus.com/bid/90311
- USN-2986-1 http://www.ubuntu.com/usn/USN-2986-1
- https://blog.fuzzing-project.org/44-dosfstools-fsck.vfat-Several-invalid-memory-accesses.html
- https://github.com/dosfstools/dosfstools/commit/07908124838afcc99c577d1d3e84cef2dbd39cb7
- https://github.com/dosfstools/dosfstools/issues/12
- https://github.com/dosfstools/dosfstools/releases/tag/v4.0
- [debian-lts-announce] 20200530 [SECURITY] [DLA 2224-1] dosfstools security update https://lists.debian.org/debian-lts-announce/2020/05/msg00028.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8523a709b0a92d6693d2fadb2cdf3126c3f9155964d8d6c8a979e6a8f4b09f8b
- Ingested
- 23 Sep 2026, 07:40:54 UTC
- Source record
- Official CVE record