CVE-2014-9652: File Project File

Medium severity, CVSS 5.0. EPSS: 5.2% probability of exploitation activity in the next 30 days.

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.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 5.21", "before 5.4.37", "before 5.5.21"; check the vendor's advisory for the release that fixes it.

Affected products

  • File Project File: up to and including 5.20
  • PHP PHP: up to and including 5.4.36; version 5.5.0 only; version 5.5.1 only; version 5.5.2 only; version 5.5.3 only; version 5.5.4 only; …

Published 2015-03-30. Last modified 2026-06-17.