Description
The cdf_check_stream_offset function in cdf.c in file before 5.19, as used in the Fileinfo component in PHP before 5.4.30 and 5.5.x before 5.5.14, relies on incorrect sector-size data, which allows remote attackers to cause a denial of service (application crash) via a crafted stream offset in a CDF file.
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 | 1:5.19-1 | — |
| Debian 13 | file | 1:5.19-1 | — |
| Debian 12 | file | 1:5.19-1 | — |
| Debian 7 | file | 5.11-2+deb7u4 | DSA-3021-1 |
| Debian 7 | php5 | 5.4.4-14+deb7u12 | DSA-2974-1 |
| Debian 6.0 | file | 5.04-5+squeeze6 | DLA-27-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | file | 1:5.14-2ubuntu3.1 | USN-2278-1 |
| Ubuntu 14.04 LTS | php5 | 5.5.9+dfsg-1ubuntu4.3 | USN-2276-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | file +4 | 5.11-31.el7 | RHSA-2015:2155 |
| RHEL 7 | php +24 | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| 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 |
| RHEL 1 | php54-php +24 | 5.4.16-22.el6 | RHSA-2014:1765 |
| RHEL 1 | php55-php +26 | 5.5.6-13.el6 | RHSA-2014:1766 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP2 | php53 | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | file +4 | 5.11-31.el7 | ELSA-2015-2155 |
| Oracle Linux 7 | php +24 | 5.4.16-23.el7_0 | ELSA-2014-1013 |
Advisories 14
- RHSA-2015:2155 Red Hat Security Advisory: file security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:1766 Red Hat Security Advisory: php55-php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:1765 Red Hat Security Advisory: php54-php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- 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
- RHSA-2014:1013 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-2278-1 file vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-2276-1 php5 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-27-1 file - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-2974-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3021-1 file - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:1638-1 Security update for php53 SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2015-2155 Moderate: file security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 23, 2015
- ELSA-2014-1013 Moderate: php security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 6, 2014
References
- https://support.apple.com/HT204659
- https://github.com/file/file/commit/36fadd29849b8087af9f4586f89dbf74ea45be67
- RHSA-2014:1766 vendor-advisory
- DSA-3021 vendor-advisory
- HPSBUX03102 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- DSA-2974 vendor-advisory
- 59794 third-party-advisory
- http://www.php.net/ChangeLog-5.php
- [file] 20140612 file-5.19 is now available mailing-list
- APPLE-SA-2015-04-08-2 vendor-advisory
- http://support.apple.com/kb/HT6443
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- RHSA-2014:1765 vendor-advisory
- https://bugs.php.net/bug.php?id=67411
- 68241 vdb-entry
- 59831 third-party-advisory
- openSUSE-SU-2014:1236 vendor-advisory