Improper handling of a string-length field in the mconvert function
Multiple products
At a glance
The mconvert function in softmagic.c in file before 5.21, as used in the Fileinfo component in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5, does not properly handle a certain string-length field during a copy of a truncated version of a Pascal string, which might allow remote attackers to cause a denial of service (out-of-bounds memory access and application crash) via a crafted file.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 5.238%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:file_project | file | Affected versions: ≤ 5.20 |
| Vendor:php | php | Affected versions:≤ 5.4.36Show full version range for php5.5.05.5.15.5.105.5.115.5.125.5.135.5.145.5.155.5.165.5.175.5.185.5.195.5.25.5.205.5.35.5.45.5.55.5.65.5.75.5.85.5.95.6.05.6.15.6.25.6.35.6.4 |
| Vendor:Debian | fileEnvironments (4)
| Affected versions: < 1:5.21+15-1 |
| Vendor:Debian | file-dbgEnvironments (4)
| Affected versions: < 1:5.21+15-1 |
| Vendor:Debian | libmagic-devEnvironments (4)
| Affected versions: < 1:5.21+15-1 |
| Vendor:Debian | libmagic1Environments (4)
| Affected versions: < 1:5.21+15-1 |
| Vendor:Debian | python-magicEnvironments (4)
| Affected versions: < 1:5.21+15-1 |
| Vendor:Debian | python3-magicEnvironments (4)
| Affected versions: < 1:5.21+15-1 |
| Vendor:oraclelinux | php54Environments (1)
| Affected versions: < 0:2.0-1.el6 |
| Vendor:oraclelinux | php54-phpEnvironments (1)
| Affected versions: < 0:5.4.40-1.el6 |
1–10 of 444 · Page 1 of 45
CVSS scores and metrics5
[email protected] · NVD (Primary)Primary5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:N/A:Pnvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:N/A:Poraclelinux · Wazuh CTI (adp)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:N/A:Nredhat · Wazuh CTI (adp)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:N/A:NRed Hat · Red Hat VEX (adp)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:N/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories40
- cve.org
- NVD
- Wazuh CTI
- Red Hat VEX
- SUSE VEX
- FIRST EPSS
- oracle.com
- lists.opensuse.org
- oracle.com
- lists.opensuse.org
- lists.opensuse.org
- security.gentoo.org
- openwall.com
- securityfocus.com
- lists.apple.com
- oracle.com
- support.apple.com
- bugs.php.net
- rhn.redhat.com
- bugs.gw.com
- marc.info
- rhn.redhat.com
- marc.info
- rhn.redhat.com
- bugs.php.net
- github.com
- php.net
- security-tracker.debian.org
- access.redhat.com
- SUSE CVE-2014-9652
- SUSE-SU-2015:0424-1
- SUSE-SU-2015:0436-1
- SUSE-SU-2016:1638-1
- openSUSE-SU-2015:0440-1
- ubuntu.com
- ubuntu.com
- linux.oracle.com
- access.redhat.com
- access.redhat.com
- Mitre CVE-2014-9652
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences