softmagic.c in file before 5.17 and libmagic allows context-dependent attackers to cause…
Priority LOW 27CWE-119Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- Partial Red Hat: 17 fixed, 2 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
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.
Why it matters now
EPSS 0.04318 91st percentileScored 2026-11-07
Fix Partial Red Hat: 3 advisoriesRed Hat: 17 fixed, 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 12
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:file_project:file:*:*:*:*:*:*:*:* | before 5.17 | Vulnerable | File Project |
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | before 5.4.26; 5.5.0 to before 5.5.10 | Vulnerable | PHP |
| cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:* | 10.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:* | 12.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:13.10:*:*:*:*:*:*:* | 13.10 | Vulnerable | Canonical |
| cpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:* | 11.4 | Vulnerable | openSUSE |
- cpe:2.3:a:file_project:file:*:*:*:*:*:*:*:* Versions before 5.17 Vulnerable ·File Project
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions before 5.4.26; 5.5.0 to before 5.5.10 Vulnerable ·PHP
- cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:* Versions 10.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:* Versions 12.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:13.10:*:*:*:*:*:*:* Versions 13.10 Vulnerable ·Canonical
- cpe:2.3:o:opensuse:opensuse:11.4:*:*:*:*:*:*:* Versions 11.4 Vulnerable ·openSUSE
Remediation
Red Hat 3 advisories
- RHSA-2014:1765 Released 2014-10-30 · Red Hat rating Importantphp54-php security update
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) php54-php-5.4.16-22.el7, php54-php-bcmath-5.4.16-22.el7, php54-php-cli-5.4.16-22.el7 +20
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) php54-php-5.4.16-22.el7, php54-php-bcmath-5.4.16-22.el7, php54-php-cli-5.4.16-22.el7 +20
- RHSA-2014:1606 Released 2014-10-13 · Red Hat rating Moderatefile security and bug fix update
- Red Hat Enterprise Linux Desktop (v. 6) file-5.04-21.el6, file-libs-5.04-21.el6
- Red Hat Enterprise Linux Desktop Optional (v. 6) file-devel-5.04-21.el6, file-static-5.04-21.el6, python-magic-5.04-21.el6
- Red Hat Enterprise Linux HPC Node (v. 6) file-5.04-21.el6, file-libs-5.04-21.el6
- Red Hat Enterprise Linux HPC Node Optional (v. 6) file-devel-5.04-21.el6, file-static-5.04-21.el6, python-magic-5.04-21.el6
- Red Hat Enterprise Linux Server (v. 6) file-5.04-21.el6, file-devel-5.04-21.el6, file-devel-5.04-21.el6.ppc +3
- Red Hat Enterprise Linux Server Optional (v. 6) file-static-5.04-21.el6
- Red Hat Enterprise Linux Workstation (v. 6) file-5.04-21.el6, file-devel-5.04-21.el6, file-libs-5.04-21.el6 +1
- Red Hat Enterprise Linux Workstation Optional (v. 6) file-static-5.04-21.el6
- RHSA-2014:1012 Released 2014-08-06 · Red Hat rating Moderatephp53 and php security update
- Red Hat Enterprise Linux (v. 5 server) php53-5.3.3-23.el5_10, php53-5.3.3-23.el5_10.i386, php53-5.3.3-23.el5_10.ia64 +47
- Red Hat Enterprise Linux Desktop Optional (v. 6) php-5.3.3-27.el6_5.1, php-bcmath-5.3.3-27.el6_5.1, php-cli-5.3.3-27.el6_5.1 +24
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php53-5.3.3-23.el5_10, php53-5.3.3-23.el5_10.i386, php53-bcmath-5.3.3-23.el5_10 +39
- Red Hat Enterprise Linux HPC Node (v. 6) php-5.3.3-27.el6_5.1, 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-bcmath-5.3.3-27.el6_5.1, php-dba-5.3.3-27.el6_5.1 +22
- Red Hat Enterprise Linux Server (v. 6) php-5.3.3-27.el6_5.1, php-cli-5.3.3-27.el6_5.1, php-common-5.3.3-27.el6_5.1 +9
- Red Hat Enterprise Linux Server Optional (v. 6) php-5.3.3-27.el6_5.1, php-bcmath-5.3.3-27.el6_5.1, php-dba-5.3.3-27.el6_5.1 +13
- Red Hat Enterprise Linux Workstation (v. 6) php-5.3.3-27.el6_5.1, php-cli-5.3.3-27.el6_5.1, php-common-5.3.3-27.el6_5.1 +9
- Red Hat Enterprise Linux Workstation Optional (v. 6) php-5.3.3-27.el6_5.1, php-bcmath-5.3.3-27.el6_5.1, php-dba-5.3.3-27.el6_5.1 +13
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix yet |
| Red Hat Software Collections | Affected | No fix yet |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2014:1012 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2014:1606 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2014:1012, RHSA-2014:1606 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2014:1012 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2014:1012, RHSA-2014:1606 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2014:1012, RHSA-2014:1606 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2014:1012, RHSA-2014:1606 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2014:1012, RHSA-2014:1606 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2014:1012, RHSA-2014:1606 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2014:1012, RHSA-2014:1606 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5) | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6) | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2014:1765 |
Not affected: 2 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2014-2270
- 2026-10-03 Alias added: GHSA-33vf-9722-2226
References
Patch 5
- [oss-security] 20140305 Re: CVE Request: file: crashes when checking softmagic for some corrupt PE executables
- [oss-security] 20140303 CVE Request: file: crashes when checking softmagic for some corrupt PE executables
- http://bugs.gw.com/view.php?id=313
- [oss-security] 20140305 Re: CVE Request: file: crashes when checking softmagic for some corrupt PE executables
- https://github.com/file/file/commit/447558595a3650db2886cd2f416ad0beba965801
Sources
- CVE-2014-2270 · CVE Program
- CVE-2014-2270 · NVD
- FIRST EPSS
- GHSA-33vf-9722-2226 · GitHub Advisory Database · CC BY 4.0
- CVE-2014-2270 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences