CVE-2015-8872
Medium · 6.2CVSS
6.2
EPSS
0.4%
Published
Jun 3, 2016
CISA due date
—
Cloudanix analysis
A bug in older software that handles certain disk formats could let someone crash the program or damage data stored on those disks.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The set_fat function in fat.c triggers an off-by-two error on FAT12 filesystems when an odd number of clusters is written to the third-to-last entry, resulting in an invalid memory read and process crash or filesystem corruption.
Why it matters to the business
Affected systems risk denial-of-service crashes or data corruption on FAT12 volumes; the issue is old with negligible EPSS and no known exploitation, limiting operational urgency but requiring patching of long-supported distributions.
How an attack unfolds
An attacker prepares a specially crafted FAT12 image containing an odd cluster count in the target FAT entry; when the vulnerable code processes the image locally the off-by-two read occurs, crashing the process or corrupting the filesystem.
How to fix it
Upgrade fontforge packages to the listed fixed versions: Debian 11/12/13 to 1:20170731~dfsg-1; Ubuntu 14.04 LTS to 20120731.b-5ubuntu0.1; Ubuntu 16.04 LTS to 20120731.b-7.1ubuntu0.1; Ubuntu 18.04 LTS to 1:20170731~dfsg-1. Remove or isolate unpatched instances.
How to confirm the fix worked
Confirm installed package versions match or exceed the fixed releases for each distribution; attempt to mount or process a test FAT12 image that exercises the third-to-last entry path and verify absence of crash or corruption.
Typical attack path
- Create a malicious FAT12 filesystem image with the triggering cluster pattern
- Place the image on a system running an affected package version
- Cause local processing of the image to trigger the memory read error
- Observe crash or filesystem corruption
How to detect it
Review system and application logs for unexpected fontforge or filesystem-tool crashes occurring during FAT12 image handling; correlate with creation or access of unusual .img or filesystem files around the time of the crash.
What your security team should do
- Apply the distribution-specific package updates immediately on all affected hosts
- Scan package inventories for remaining vulnerable fontforge versions
- Add the fixed-version checks to routine patch compliance reporting
The record
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."
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | dosfstools | 0 | 4.0-1 |
| Debian:12 | dosfstools | 0 | 4.0-1 |
| Debian:13 | dosfstools | 0 | 4.0-1 |
| Debian:7 | dosfstools | 0 | 3.0.13-1+deb7u1 |
| Debian:8 | dosfstools | 0 | 3.0.27-1+deb8u1 |
| Mageia:5 | dosfstools | 0 | 3.0.27-1.1.mga5 |
| SUSE:Linux Enterprise Desktop 12 SP1 | dosfstools | 0 | 3.0.26-6.5 |
| SUSE:Linux Enterprise Server 11 SP4 | dosfstools | 0 | 3.0.26-3.1 |
| SUSE:Linux Enterprise Server 12 SP1 | dosfstools | 0 | 3.0.26-6.5 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | dosfstools | 0 | 3.0.26-3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | dosfstools | 0 | 3.0.26-6.5 |
| Ubuntu:14.04:LTS | dosfstools | 0 | 3.0.26-1ubuntu0.1 |
| Ubuntu:16.04:LTS | dosfstools | 0 | 3.0.28-2ubuntu0.1 |
Related vulnerabilities
- CVE-2026-102621 A vulnerability was identified in Freedesktop Poppler up to 26.08.0. CWE-189
- CVE-2026-102620 A vulnerability was determined in Freedesktop Poppler 26.06.0/26.07.0/26.08.0. CWE-189
- CVE-2026-93314 A vulnerability was determined in Freedesktop Poppler 26.07.0. CWE-189
- CVE-2026-93313 A vulnerability was found in Freedesktop Poppler 26.07.0. CWE-189
- CVE-2026-93311 A vulnerability was detected in Freedesktop Poppler 26.07.0. CWE-189
- CVE-2026-86297 A vulnerability was identified in D-Link DIR-605 B1v202WWB03. CWE-189
- CVE-2026-86289 A vulnerability was found in Ollama up to 0.31.1. CWE-189
- CVE-2026-82908 A vulnerability was found in MSI Dragon Center up to 2.0.155.0. CWE-189