CVE-2014-2270: Buffer Overflow

Published Mar 4, 2014
·
Updated

A flaw was found in the way the file utility determined the type of Portable Executable (PE) format files, the executable format used on Windows. A malicious PE file could cause the file utility to crash or, potentially, execute arbitrary code.

Upstream report: http://bugs.gw.com/view.php?id=313

Upstream fix: https://github.com/glensc/file/commit/447558595a3650db2886cd2f416ad0beba965801

Other sources

softmagic.c in file before 5.17 and libmagic allows context-dependent attackers to cause a denial of service (out-of-bounds memory access and crash) via crafted offsets in the softmagic of a PE executable.

— MITRE

Affected Software

17 affected componentsFixes available
File Project File<5.17
PHP PHP<5.4.26
PHP PHP>=5.5.0<5.5.10
Debian Debian Linux=6.0
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=12.10
Canonical Ubuntu Linux=13.10
openSUSE openSUSE=11.4
openSUSE openSUSE=12.3
openSUSE openSUSE=13.1
redhat/file<5.17
5.17
redhat/php<5.5.10
5.5.10
debian/file
5.04-5+squeeze45.11-2+deb7u21:5.17-1
debian/php5
5.3.3-7+squeeze245.4.4-14+deb7u105.5.10+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 5.17
  2. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 5.5.10
  3. Upgrade

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

    Fixed in 5.04-5+squeeze4Fixed in 5.11-2+deb7u2Fixed in 1:5.17-1
  4. Upgrade

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

    Fixed in 5.3.3-7+squeeze24Fixed in 5.4.4-14+deb7u10Fixed in 5.5.10+dfsg-1
  5. Upgrade

    Upgrade file to a version that resolves this vulnerability.

    Fixed in 5.17

Event History

Mar 4, 2014
Data Sourced
via Red Hat·06:50 AM
DescriptionSeverityAffected Software
Mar 14, 2014
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
03:55 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 6, 2026
Updated
via NVD·10:30 PM
Affected Software

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-2270?

CVE-2014-2270 has been rated as a denial of service vulnerability due to out-of-bounds memory access.

2

How do I fix CVE-2014-2270?

To fix CVE-2014-2270, update to the latest versions of the affected software, ensuring you are beyond the specified vulnerable versions.

3

What software is affected by CVE-2014-2270?

CVE-2014-2270 affects the file utility before version 5.17, PHP versions prior to 5.4.26 and between 5.5.0 and 5.5.10, as well as several versions of Debian and Ubuntu.

4

What type of attack exploits CVE-2014-2270?

CVE-2014-2270 can be exploited by context-dependent attackers causing a denial of service through crafted offsets in the softmagic of a PE executable.

5

Is CVE-2014-2270 a critical vulnerability?

While CVE-2014-2270 is not classified as critical, it does pose a significant risk due to its potential to disrupt services.

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