CVE-2014-8117: softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU…
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 5.9% (FIRST EPSS); higher than 93.3% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: file (Debian:12) 1:5.21+15-1; file (Debian:6.0) 5.04-5+squeeze9; php5 (Debian:6.0) 5.3.3-7+squeeze24, 5.3.3-7+squeeze19.
Low priority for now. Upgrade to file (Debian:12) 1:5.21+15-1; file (Debian:6.0) 5.04-5+squeeze9; php5 (Debian:6.0) 5.3.3-7+squeeze24, 5.3.3-7+squeeze19 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
- Published
- Dec 17, 2014
- Updated
- Jun 16, 2026
- EPSS
- 5.9% · 93th percentile
- CWE
- CWE-399
Report tools
Action score
22
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 5.9%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| file project | file | cpe:2.3:a:file_project:file |
| freebsd | freebsd | cpe:2.3:o:freebsd:freebsd |
| mageia | mageia | cpe:2.3:o:mageia:mageia |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux10.04
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux14.10
- file project fileup to 5.20 inclusive
- freebsd freebsdall versions
- mageia mageia4.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | file | before 1:5.21+15-1 | 1:5.21+15-1 |
| Debian:6.0 | file | before 5.04-5+squeeze9 | 5.04-5+squeeze9 |
| Debian:6.0 | php5 | before 5.3.3-7+squeeze24 | 5.3.3-7+squeeze24 |
| Debian:6.0 | php5 | before 5.3.3-7+squeeze19 | 5.3.3-7+squeeze19 |
| Debian:7 | file | before 5.11-2+deb7u7 | 5.11-2+deb7u7 |
| Debian:7 | php5 | before 5.4.4-14+deb7u8 | 5.4.4-14+deb7u8 |
| openSUSE:Tumbleweed | file | before 5.29-2.1 | 5.29-2.1 |
| Red Hat:enterprise_linux:6::client | file | before 0:5.04-30.el6 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::client | file-debuginfo | before 0:5.04-30.el6 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::client | file-devel | before 0:5.04-30.el6 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::client | file-libs | before 0:5.04-30.el6 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::client | file-static | before 0:5.04-30.el6 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::client | python-magic | before 0:5.04-30.el6 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:7::client | file | before 0:5.11-31.el7 | 0:5.11-31.el7 |
| Red Hat:enterprise_linux:7::client | file-debuginfo | before 0:5.11-31.el7 | 0:5.11-31.el7 |
| Red Hat:enterprise_linux:7::client | file-devel | before 0:5.11-31.el7 | 0:5.11-31.el7 |
| Red Hat:enterprise_linux:7::client | file-libs | before 0:5.11-31.el7 | 0:5.11-31.el7 |
| Red Hat:enterprise_linux:7::client | file-static | before 0:5.11-31.el7 | 0:5.11-31.el7 |
| Red Hat:enterprise_linux:7::client | python-magic | before 0:5.11-31.el7 | 0:5.11-31.el7 |
| SUSE:Linux Enterprise Desktop 12 SP2 | file | before 5.22-10.3.1 | 5.22-10.3.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | python-magic | before 5.22-10.3.1 | 5.22-10.3.1 |
Same product
file project: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-8907do_core_note in readelf.c in libmagic.a in file 5.35 allows remote attackers to cause a denial of service (stack corruption and application…36Monitor
- CVE-2019-8904do_bid_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printf and file_vprintf.36Monitor
- CVE-2019-18218cdf_read_property_info in cdf.c in file through 5.37 does not restrict the number of CDF_VECTOR elements, which allows a heap-based buffer…32Monitor
Published before and after this one in the same product
- ← EarlierCVE-2014-2270Mar 14, 2014 · softmagic.c in file before 5.17 and libmagic allows context-dependent attackers to cause a denial of service (out-of-bounds memory access…18Monitor
- ← EarlierCVE-2014-8116Dec 17, 2014 · The ELF parser (readelf.c) in file before 5.21 allows remote attackers to cause a denial of service (CPU consumption or crash) via a large…21Monitor
- Later →CVE-2014-9620Jan 21, 2015 · The ELF parser in file 5.08 through 5.21 allows remote attackers to cause a denial of service via a large number of notes.21Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:file | 1:5.21+15-1 · Debian:12 | Package registry (OSV) |
| debian:php5 | 5.3.3-7+squeeze24 · Debian:6.0 | Package registry (OSV) |
| opensuse:file | 5.29-2.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:file | 0:5.11-31.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:file-debuginfo | 0:5.11-31.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:file-devel | 0:5.11-31.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:file-libs | 0:5.11-31.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:file-static | 0:5.11-31.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:python-magic | 0:5.11-31.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:file | 5.22-10.3.1 · SUSE:Linux Enterprise Desktop 12 SP2 | Package registry (OSV) |
| suse:python-magic | 5.22-10.3.1 · SUSE:Linux Enterprise Software Development Kit 12 SP2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
CWE-399 · Resource Management ErrorsCVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (13 more)Show less
- advisories.mageia.org/MGASA-2015-0040.html
- rhn.redhat.com/errata/RHSA-2016-0760.html
- seclists.org/oss-sec/2014/q4/1056
- secunia.com/advisories/61944
- secunia.com/advisories/62081
- www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- www.securitytracker.com/id/1031344
- www.ubuntu.com/usn/USN-2494-1
- www.ubuntu.com/usn/USN-2535-1
- github.com/file/file/blob/00cef282a902a4a6709bbbbb933ee397768caa38/ChangeLog
- github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
- www.freebsd.org/security/advisories/FreeBSD-SA-14:28.file.asc
Vendor advisories and official records. Exploit/PoC links are deliberately left out.