Skip to content
Heist/ feed
Back to feed
UnratedFix available

file — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2014-9652

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.

Products
file
Affected versions
Not specified
Fixed versions
1:5.21+15-1
CVEs
CVE-2014-9652
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 21:36 UTC · Revision 1

Source evidence

DEBIAN-CVE-2014-9652

core-osv · Original source

Published 30 Mar 2015, 10:59 UTC

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.

osv:DEBIAN-CVE-2014-9652

file

Fixed versions: 1:5.21+15-1

file

Fixed versions: 1:5.21+15-1

file

Fixed versions: 1:5.21+15-1

Complete source record
{
  "id": "95a478f0b7ec953ca3279f41b89ae5e44748812c92dee311f553b04c0f21077f",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2014-9652",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2014-9652",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2014-9652",
    "products": [
      {
        "name": {
          "value": "file",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:5.21+15-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "file",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:5.21+15-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "file",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:5.21+15-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "DEBIAN-CVE-2014-9652",
      "aliases": [
        "DEBIAN-CVE-2014-9652"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:5.21+15-1"
                }
              ]
            }
          ],
          "package": {
            "name": "file",
            "purl": "pkg:deb/debian/file?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2014-9652.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:5.21+15-1"
                }
              ]
            }
          ],
          "package": {
            "name": "file",
            "purl": "pkg:deb/debian/file?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2014-9652.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:5.21+15-1"
                }
              ]
            }
          ],
          "package": {
            "name": "file",
            "purl": "pkg:deb/debian/file?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2014-9652.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T15:47:23.600876457Z",
      "provider": "osv",
      "upstream": [
        "CVE-2014-9652"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2014-9652"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2014-9652",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 413752,
  "published_at": "2015-03-30T10:59:01.347+00:00"
}