CVE-2014-3480: Input Validation

Published Jun 4, 2014
·
Updated

A flaw was found in the way file uses cdfcountchain() function to processes maxsector for certain Composite Document Format (CDF) files.

Upstream commit: https://github.com/file/file/commit/40bade80cbe2af1d0b2cd0420cebd5d5905a2382

Acknowledgements:

This issue was discovered by Francisco Alonso of Red Hat Product Security.

Other sources

The cdfcountchain 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, does not properly validate sector-count data, which allows remote attackers to cause a denial of service (application crash) via a crafted CDF file.

Affected Software

10 affected componentsFixes available
File Project File<5.19
PHP PHP<5.3.29
PHP PHP>=5.4.0<5.4.30
PHP PHP>=5.5.0<5.5.14
Debian Debian Linux=7.0
Debian Debian Linux=8.0
openSUSE openSUSE=11.4
Oracle Linux=7
debian/file
5.04-5+squeeze65.11-2+deb7u41:5.19-1
debian/php5
5.3.3-7+squeeze215.4.4-14+deb7u125.6.0~rc1+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/file to a version that resolves this vulnerability.

    Fixed in 5.04-5+squeeze6Fixed in 5.11-2+deb7u4Fixed in 1:5.19-1
  2. Upgrade

    Upgrade debian/php5 to a version that resolves this vulnerability.

    Fixed in 5.3.3-7+squeeze21Fixed in 5.4.4-14+deb7u12Fixed in 5.6.0~rc1+dfsg-1

Event History

Jun 4, 2014
Data Sourced
via Red Hat·08:25 PM
DescriptionSeverityAffected Software
Jul 9, 2014
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Data Sourced
11:07 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via NVD·11:07 AM
RemedyDescriptionSeverityWeaknessAffected Software
Event
via NVD·11:07 AM

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2014-3480?

CVE-2014-3480 has a medium severity as it can lead to denial of service through application crashes.

2

How do I fix CVE-2014-3480?

To fix CVE-2014-3480, update your PHP version to at least 5.4.30 or 5.5.14, or upgrade to a newer version.

3

Which PHP versions are affected by CVE-2014-3480?

CVE-2014-3480 affects PHP versions prior to 5.4.30 and versions from 5.5.0 to 5.5.14.

4

What types of applications are impacted by CVE-2014-3480?

Applications using vulnerable versions of PHP for handling CDF files are impacted by CVE-2014-3480.

5

Is CVE-2014-3480 an exploitable vulnerability?

Yes, CVE-2014-3480 can be exploited by remote attackers to cause application crashes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203