CVE-2014-3478: Buffer overflow in the mconvert function in softmagic.c in file before 5.19, as used in the Fileinfo component
CVE-2014-3478 is a medium-severity flaw (CVSS 6.5) affecting file, php. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Buffer overflow in the mconvert function in softmagic.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, allows remote attackers to cause a denial of service (application crash) via a crafted Pascal string in a FILE_PSTRING conversion.
Why this priority
- EPSS top 3%: very likely to be exploited
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 15.2% (top 3%) |
| CISA exploited list | No |
| Weakness | CWE-119 |
| Published | 2014-07-09 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2014-3478?
file: upgrade to newer than 5.18; php: upgrade to newer than 5.4.29. Exact commands for each OS are on this page.
Is CVE-2014-3478 being exploited?
CVE-2014-3478 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2014-3478 affect?
CVE-2014-3478 affects file, php. Severity is medium (CVSS 6.5). Buffer overflow in the mconvert function in softmagic.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, allows remote attackers to cause a denial of service (application crash) via a craf
How urgent is CVE-2014-3478?
Priority 52/100. EPSS top 3%: very likely to be exploited; Public exploit reference
Software pages
Related CVEs
- CVE-2019-8906 MEDIUM 4.4 DOWNGRADE MITIGATE do_core_note in readelf.c in libmagic.a in file 5.35 has an out-of-bounds read because memcpy is misused.
- CVE-2022-48554 MEDIUM 5.5 DOWNGRADE MITIGATE File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c
- CVE-2019-8907 HIGH 8.8 DOWNGRADE MITIGATE do_core_note in readelf.c in libmagic.a in file 5.35 allows remote attackers to cause a denial of service (sta
- CVE-2019-8905 MEDIUM 4.4 MITIGATE DOWNGRADE do_core_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_print
- CVE-2019-8904 HIGH 8.8 DOWNGRADE MITIGATE do_bid_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printf