Description
file before 5.11 and libmagic allow remote attackers to cause a denial of service (crash) via a crafted Composite Document File (CDF) file that triggers (1) an out-of-bounds read or (2) an invalid pointer dereference.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | file | 5.11-1 | — |
| Debian 13 | file | 5.11-1 | — |
| Debian 12 | file | 5.11-1 | — |
| Debian 6.0 | file | 5.04-5+squeeze1 | DSA-2422-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | file +4 | 5.04-21.el6 | RHSA-2014:1606 |
| RHEL 6 | php +26 | 5.3.3-27.el6_5.1 | RHSA-2014:1012 |
| RHEL 5 | php53 +20 | 5.3.3-23.el5_10 | RHSA-2014:1012 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | file | 5.29-2.1 | openSUSE-SU-2024:10221-1 |
Advisories 4
- RHSA-2014:1606 Red Hat Security Advisory: file security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:1012 Red Hat Security Advisory: php53 and php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DSA-2422-1 file - missing bounds check Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10221-1 file-5.29-2.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- DSA-2422 vendor-advisory
- MDVSA-2012:035 vendor-advisory
- https://github.com/glensc/file/commit/1aec04dbf8a24b8a6ba64c4f74efa0628e36db0b
- [file] 20120221 file-5.11 is now available mailing-list
- https://github.com/glensc/file/commit/1859fdb4e67c49c463c4e0078054335cd46ba295
- USN-2123-1 vendor-advisory