{"id":"CVE-2014-3478","published":"2014-07-09T10:00:00Z","modified":"2025-12-04T20:26:53Z","title":"Buffer overflow in the mconvert function in softmagic.c in file before 5.19, as used in the Fileinfo component in PHP…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.15176,"percentile":0.96828,"provenance":"source"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"references":[{"url":"https://support.apple.com/HT204659","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1766.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.debian.org/security/2014/dsa-3021","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://marc.info/?l=bugtraq&m=141017844705317&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2014/dsa-2974","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://secunia.com/advisories/59794","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"http://mx.gw.com/pipermail/file/2014/001553.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://github.com/file/file/commit/27a14bc7ba285a0a5ebfdb55e54001aa11932b08","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/68239","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://support.apple.com/kb/HT6443","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1327.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1765.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugs.php.net/bug.php?id=67410","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/59831","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.opensuse.org/opensuse-updates/2014-09/msg00046.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":23.9,"factors":[{"name":"EPSS percentile","points":19.37},{"name":"CVSS severity","points":4.55}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-04T20:26:48.397424Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"A buffer overflow in the mconvert function in softmagic.c of the file library, as used by the Fileinfo component in PHP before 5.4.30 and 5.5.x before 5.5.14, is the flaw. An remote attacker who can get PHP to process a crafted Pascal string through a FILE_PSTRING conversion, with no authentication and no user interaction required, can crash the application and cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:39:23Z"},"euvd":{"id":"EUVD-2014-3487","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2014-2270-family-cve-2014-2270","parents":[{"from":"CVE-2014-2270","to":"CVE-2014-3478","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/softmagic.c"],"commits":["https://github.com/file/file/commit/447558595a3650db2886cd2f416ad0beba965801","https://github.com/file/file/commit/27a14bc7ba285a0a5ebfdb55e54001aa11932b08"],"basis":"shared function","functions":["magic_set"]}]},{"from":"CVE-2014-3538","to":"CVE-2014-3478","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/softmagic.c"],"commits":["https://github.com/file/file/commit/27a14bc7ba285a0a5ebfdb55e54001aa11932b08","https://github.com/file/file/commit/74cafd7de9ec99a14f4480927580e501c8f852c3","https://github.com/file/file/commit/71a8b6c0d758acb0f73e2e51421a711b5e9d6668"],"basis":"shared function","functions":["magic_set"]}]}],"children":[{"from":"CVE-2014-3478","to":"CVE-2014-8117","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/softmagic.c"],"commits":["https://github.com/file/file/commit/27a14bc7ba285a0a5ebfdb55e54001aa11932b08","https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c"],"basis":"shared function","functions":["magic_set"]}]},{"from":"CVE-2014-3478","to":"CVE-2014-9652","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/softmagic.c"],"commits":["https://github.com/file/file/commit/27a14bc7ba285a0a5ebfdb55e54001aa11932b08","https://github.com/file/file/commit/59e63838913eee47f5c120a6c53d4565af638158"],"basis":"shared function","functions":["magic_set"]}]}]}}