Skip to content
Fencer Intel
medium 6.2

CVE-2015-8872 json

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 (in…

published 2016-06-03 10 y ago modified 2026-06-17 4 mo ago also EUVD-2015-8728

cvss
6.2
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 36%
public exploits
0
none known

Summary

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."

Patch / fix

  • dosfstools Debian 14, Debian 13, Debian 12 4.0-1

debian advisories DEBIAN-CVE-2015-8872

  • dosfstools Ubuntu 14.04 LTS 3.0.26-1ubuntu0.1
  • dosfstools Ubuntu 16.04 LTS 3.0.28-2ubuntu0.1

ubuntu advisories UBUNTU-CVE-2015-8872

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • dosfstools SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 3.0.26-6.5
  • dosfstools SLES for SAP 11 SP4, SLES 11 SP4 3.0.26-3.1

suse advisories SUSE-SU-2016:2145-1SUSE-SU-2016:2146-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-8872 updated cvss 4.4

dosfstools: Off-by-2 error leading to corruption in FAT12

  • Red Hat Enterprise Linux 5 dosfstools Red Hat Enterprise Linux 6 dosfstools Red Hat Enterprise Linux 7 dosfstools
    affected: no fix planned “Will not fix”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 6.2 CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.