{"id":"UBUNTU-CVE-2015-8872","details":"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.\"","modified":"2026-02-04T02:48:15.508410Z","published":"2015-12-31T00:00:00Z","related":["USN-2986-1"],"upstream":["CVE-2015-8872"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-8872"},{"type":"REPORT","url":"https://blog.fuzzing-project.org/44-dosfstools-fsck.vfat-Several-invalid-memory-accesses.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2986-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2015-8872"}],"affected":[{"package":{"name":"dosfstools","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/dosfstools@3.0.26-1ubuntu0.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.26-1ubuntu0.1"}]}],"versions":["3.0.16-2ubuntu2","3.0.24-1","3.0.25-1","3.0.26-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"3.0.26-1ubuntu0.1","binary_name":"dosfstools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-8872.json"}},{"package":{"name":"dosfstools","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/dosfstools@3.0.28-2ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.28-2ubuntu0.1"}]}],"versions":["3.0.28-1","3.0.28-2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"3.0.28-2ubuntu0.1","binary_name":"dosfstools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-8872.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}