Skip to content
Fencer Intel
medium 4.3

CVE-2014-2270 json

softmagic.c in file before 5.17 and libmagic allows context-dependent attackers to cause a denial of service (out-of-bounds memory access a…

published 2014-03-14 12 y ago modified 2026-06-17 4 mo ago also EUVD-2014-2308

cvss
4.3
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.3%
EPSS 4.3% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

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.

Patch / fix

  • file_project file 5.17
  • php php 5.4.26, 5.5.10
  • file Debian 14, Debian 13, Debian 12 1:5.17-1

debian advisories DEBIAN-CVE-2014-2270

  • php RHEL 6 5.3.3-27.el6_5.1
  • php53 RHEL 5 5.3.3-23.el5_10
  • php-gd RHEL 6 5.3.3-27.el6_5.1
  • php-cli RHEL 6 5.3.3-27.el6_5.1
  • php-dba RHEL 6 5.3.3-27.el6_5.1
  • php-fpm RHEL 6 5.3.3-27.el6_5.1
  • php-pdo RHEL 6 5.3.3-27.el6_5.1
  • php-xml RHEL 6 5.3.3-27.el6_5.1

red hat advisories RHSA-2014:1012RHSA-2014:1606RHSA-2014:1765

  • php7 openSUSE Tumbleweed 7.0.14-1.4
  • php5 openSUSE Tumbleweed 5.6.28-1.1

opensuse advisories openSUSE-SU-2024:10290-1openSUSE-SU-2024:10344-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2014-2270 updated cvss 4.3

file: out-of-bounds access in search rules with offsets from input file

  • Red Hat Enterprise Linux 5 rpm, file, cdrtools
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat Software Collections php55-php, php55-php-gd, php55-php-cli, php55-php-dba, php55-php-fpm, php55-php-gmp, +20 more
    affected: no fix available
  • Red Hat Enterprise Linux (v. 5 server) php53 5.3.3-23.el5_10, php53-gd 5.3.3-23.el5_10, php53-cli 5.3.3-23.el5_10, php53-dba 5.3.3-23.el5_10, php53-pdo 5.3.3-23.el5_10, php53-xml 5.3.3-23.el5_10, +14 more
    fixed: vendor fix RHSA-2014:1012
  • Red Hat Enterprise Linux Desktop (v. 6) file 5.04-21.el6, file-libs 5.04-21.el6
    fixed: vendor fix RHSA-2014:1606
  • Red Hat Enterprise Linux Desktop Optional (v. 6) php 5.3.3-27.el6_5.1, php-gd 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, +21 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php53 5.3.3-23.el5_10, php53-gd 5.3.3-23.el5_10, php53-cli 5.3.3-23.el5_10, php53-dba 5.3.3-23.el5_10, php53-pdo 5.3.3-23.el5_10, php53-xml 5.3.3-23.el5_10, +14 more Red Hat Enterprise Linux HPC Node (v. 6) file 5.04-21.el6, php 5.3.3-27.el6_5.1, file-libs 5.04-21.el6, php-cli 5.3.3-27.el6_5.1, php-common 5.3.3-27.el6_5.1 Red Hat Enterprise Linux HPC Node Optional (v. 6) php 5.3.3-27.el6_5.1, php-gd 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, php-xml 5.3.3-27.el6_5.1, +19 more Red Hat Enterprise Linux Server (v. 6) file 5.04-21.el6, php 5.3.3-27.el6_5.1, file-libs 5.04-21.el6, php-gd 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, +9 more Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-zts 5.3.3-27.el6_5.1, php-imap 5.3.3-27.el6_5.1, php-intl 5.3.3-27.el6_5.1, +9 more
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 6) file 5.04-21.el6, php 5.3.3-27.el6_5.1, file-libs 5.04-21.el6, php-gd 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, +9 more Red Hat Enterprise Linux Workstation Optional (v. 6) php 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-zts 5.3.3-27.el6_5.1, php-imap 5.3.3-27.el6_5.1, php-intl 5.3.3-27.el6_5.1, +9 more
    fixed: vendor fix RHSA-2014:1012
  • Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) php54-php 5.4.16-22.el6, php54-php-gd 5.4.16-22.el6, php54-php-cli 5.4.16-22.el6, php54-php-dba 5.4.16-22.el6, php54-php-fpm 5.4.16-22.el6, php54-php-pdo 5.4.16-22.el6, +18 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) php54-php 5.4.16-22.el7, php54-php-gd 5.4.16-22.el7, php54-php-cli 5.4.16-22.el7, php54-php-dba 5.4.16-22.el7, php54-php-fpm 5.4.16-22.el7, php54-php-pdo 5.4.16-22.el7, +16 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) php54-php 5.4.16-22.el6, php54-php-gd 5.4.16-22.el6, php54-php-cli 5.4.16-22.el6, php54-php-dba 5.4.16-22.el6, php54-php-fpm 5.4.16-22.el6, php54-php-pdo 5.4.16-22.el6, +18 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5) php54-php 5.4.16-22.el6, php54-php-gd 5.4.16-22.el6, php54-php-cli 5.4.16-22.el6, php54-php-dba 5.4.16-22.el6, php54-php-fpm 5.4.16-22.el6, php54-php-pdo 5.4.16-22.el6, +18 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6) php54-php 5.4.16-22.el6, php54-php-gd 5.4.16-22.el6, php54-php-cli 5.4.16-22.el6, php54-php-dba 5.4.16-22.el6, php54-php-fpm 5.4.16-22.el6, php54-php-pdo 5.4.16-22.el6, +18 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) php54-php 5.4.16-22.el6, php54-php-gd 5.4.16-22.el6, php54-php-cli 5.4.16-22.el6, php54-php-dba 5.4.16-22.el6, php54-php-fpm 5.4.16-22.el6, php54-php-pdo 5.4.16-22.el6, +18 more
    +1 more products
    Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) php54-php 5.4.16-22.el7, php54-php-gd 5.4.16-22.el7, php54-php-cli 5.4.16-22.el7, php54-php-dba 5.4.16-22.el7, php54-php-fpm 5.4.16-22.el7, php54-php-pdo 5.4.16-22.el7, +16 more
    fixed: vendor fix RHSA-2014:1765
  • Red Hat Enterprise Linux 5 php Red Hat Enterprise Linux 7 php, file, php-gd, php-cli, php-dba, php-fpm, +21 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.32% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.