{"api_version":"1","generated_at":"2026-07-23T08:38:13+00:00","cve":"CVE-2014-3981","urls":{"html":"https://cve.report/CVE-2014-3981","api":"https://cve.report/api/cve/CVE-2014-3981.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2014-3981","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2014-3981"},"summary":{"title":"CVE-2014-3981","description":"acinclude.m4, as used in the configure script in PHP 5.5.13 and earlier, allows local users to overwrite arbitrary files via a symlink attack on the /tmp/phpglibccheck file.","state":"PUBLISHED","assigner":"mitre","published_at":"2014-06-08 18:55:06","updated_at":"2026-05-06 22:30:45"},"problem_types":["CWE-59","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"3.3","severity":"","vector":"AV:L/AC:M/Au:N/C:N/I:P/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:N/I:P/A:P","baseScore":3.3,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www-01.ibm.com/support/docview.wss?uid=swg21683486","name":"http://www-01.ibm.com/support/docview.wss?uid=swg21683486","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"IBM Security Bulletin: Multiple vulnerabilities in PHP 5.2 open source component for IBM Lotus Protector for Mail Security (CVE-2014-3515 CVE-2014-4049 CVE-2014-3981 CVE-2014-0238 CVE-2014-0237, CVE-2014-4721, CVE-2014-4670 CVE-2014-4698) - United States","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://seclists.org/fulldisclosure/2014/Jun/21","name":"http://seclists.org/fulldisclosure/2014/Jun/21","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"Full Disclosure: More /tmp fun (PHP, Lynis)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=141390017113542&w=2","name":"http://marc.info/?l=bugtraq&m=141390017113542&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"'[security bulletin] HPSBUX03150 SSRT101681 rev.1 - HP-UX Apache Server Suite running Apache Tomcat o' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://support.apple.com/HT204659","name":"https://support.apple.com/HT204659","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"About the security content of OS X Yosemite v10.10.3 and Security Update 2015-004 - Apple Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://support.apple.com/kb/HT6443","name":"http://support.apple.com/kb/HT6443","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"About the security content of OS X Mavericks v10.9.5 and Security Update 2014-004 - Apple Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html","name":"http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Oracle Bulletin Board Update - January 2015","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html","name":"http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List"],"title":"APPLE-SA-2015-04-08-2 OS X 10.10.3 and Security Update 2015-004","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://openwall.com/lists/oss-security/2014/06/06/12","name":"http://openwall.com/lists/oss-security/2014/06/06/12","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - Re: CVE request: PHP configure script and Lynis tool /tmp/ issues reported on full disclosure","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1104978","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1104978","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory"],"title":"Bug 1104978 – CVE-2014-3981 php: insecure temporary file use in the configure script","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=91bcadd85e20e50d3f8c2e9721327681640e6f16","name":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=91bcadd85e20e50d3f8c2e9721327681640e6f16","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"208.43.231.11 Git - php-src.git/commit","mime":"text/xml","httpstatus":"-1","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=141017844705317&w=2","name":"http://marc.info/?l=bugtraq&m=141017844705317&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"'[security bulletin] HPSBUX03102 SSRT101681 rev.1 - HP-UX Apache Server Suite running Apache Tomcat o' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.php.net/bug.php?id=67390","name":"https://bugs.php.net/bug.php?id=67390","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"PHP :: Sec Bug #67390 :: insecure temporary file use in the configure script","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://git.php.net/?p=php-src.git;a=commit;h=91bcadd85e20e50d3f8c2e9721327681640e6f16","name":"CONFIRM:http://git.php.net/?p=php-src.git;a=commit;h=91bcadd85e20e50d3f8c2e9721327681640e6f16","refsource":"MITRE","tags":[],"title":"208.43.231.11 Git - php-src.git/commit","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-3981","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3981","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2014","cve_id":"3981","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T11:04:26.917Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://support.apple.com/HT204659"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www-01.ibm.com/support/docview.wss?uid=swg21683486"},{"name":"HPSBUX03102","tags":["vendor-advisory","x_refsource_HP","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=141017844705317&w=2"},{"name":"HPSBUX03150","tags":["vendor-advisory","x_refsource_HP","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=141390017113542&w=2"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.php.net/bug.php?id=67390"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1104978"},{"name":"APPLE-SA-2015-04-08-2","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"],"url":"http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://support.apple.com/kb/HT6443"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html"},{"name":"SSRT101681","tags":["vendor-advisory","x_refsource_HP","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=141017844705317&w=2"},{"name":"20140604 More /tmp fun (PHP, Lynis)","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"],"url":"http://seclists.org/fulldisclosure/2014/Jun/21"},{"name":"[oss-security] 20140606 Re: CVE request: PHP configure script and Lynis tool /tmp/ issues reported on full disclosure","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://openwall.com/lists/oss-security/2014/06/06/12"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=91bcadd85e20e50d3f8c2e9721327681640e6f16"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2014-06-04T00:00:00.000Z","descriptions":[{"lang":"en","value":"acinclude.m4, as used in the configure script in PHP 5.5.13 and earlier, allows local users to overwrite arbitrary files via a symlink attack on the /tmp/phpglibccheck file."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-01-04T17:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://support.apple.com/HT204659"},{"tags":["x_refsource_CONFIRM"],"url":"http://www-01.ibm.com/support/docview.wss?uid=swg21683486"},{"name":"HPSBUX03102","tags":["vendor-advisory","x_refsource_HP"],"url":"http://marc.info/?l=bugtraq&m=141017844705317&w=2"},{"name":"HPSBUX03150","tags":["vendor-advisory","x_refsource_HP"],"url":"http://marc.info/?l=bugtraq&m=141390017113542&w=2"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.php.net/bug.php?id=67390"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1104978"},{"name":"APPLE-SA-2015-04-08-2","tags":["vendor-advisory","x_refsource_APPLE"],"url":"http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html"},{"tags":["x_refsource_CONFIRM"],"url":"http://support.apple.com/kb/HT6443"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html"},{"name":"SSRT101681","tags":["vendor-advisory","x_refsource_HP"],"url":"http://marc.info/?l=bugtraq&m=141017844705317&w=2"},{"name":"20140604 More /tmp fun (PHP, Lynis)","tags":["mailing-list","x_refsource_FULLDISC"],"url":"http://seclists.org/fulldisclosure/2014/Jun/21"},{"name":"[oss-security] 20140606 Re: CVE request: PHP configure script and Lynis tool /tmp/ issues reported on full disclosure","tags":["mailing-list","x_refsource_MLIST"],"url":"http://openwall.com/lists/oss-security/2014/06/06/12"},{"tags":["x_refsource_CONFIRM"],"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=91bcadd85e20e50d3f8c2e9721327681640e6f16"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2014-3981","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"acinclude.m4, as used in the configure script in PHP 5.5.13 and earlier, allows local users to overwrite arbitrary files via a symlink attack on the /tmp/phpglibccheck file."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://support.apple.com/HT204659","refsource":"CONFIRM","url":"https://support.apple.com/HT204659"},{"name":"http://www-01.ibm.com/support/docview.wss?uid=swg21683486","refsource":"CONFIRM","url":"http://www-01.ibm.com/support/docview.wss?uid=swg21683486"},{"name":"HPSBUX03102","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=141017844705317&w=2"},{"name":"HPSBUX03150","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=141390017113542&w=2"},{"name":"https://bugs.php.net/bug.php?id=67390","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=67390"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1104978","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1104978"},{"name":"APPLE-SA-2015-04-08-2","refsource":"APPLE","url":"http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html"},{"name":"http://support.apple.com/kb/HT6443","refsource":"CONFIRM","url":"http://support.apple.com/kb/HT6443"},{"name":"http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html"},{"name":"SSRT101681","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=141017844705317&w=2"},{"name":"20140604 More /tmp fun (PHP, Lynis)","refsource":"FULLDISC","url":"http://seclists.org/fulldisclosure/2014/Jun/21"},{"name":"[oss-security] 20140606 Re: CVE request: PHP configure script and Lynis tool /tmp/ issues reported on full disclosure","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2014/06/06/12"},{"name":"http://git.php.net/?p=php-src.git;a=commit;h=91bcadd85e20e50d3f8c2e9721327681640e6f16","refsource":"CONFIRM","url":"http://git.php.net/?p=php-src.git;a=commit;h=91bcadd85e20e50d3f8c2e9721327681640e6f16"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2014-3981","datePublished":"2014-06-08T18:00:00.000Z","dateReserved":"2014-06-05T00:00:00.000Z","dateUpdated":"2024-08-06T11:04:26.917Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2014-06-08 18:55:06","lastModifiedDate":"2026-05-06 22:30:45","problem_types":["CWE-59","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:N/I:P/A:P","baseScore":3.3,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"LOW","exploitabilityScore":3.4,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionEndExcluding":"5.3.29","matchCriteriaId":"388E0CDF-737F-437E-B4D9-1001E0651387"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.0","versionEndExcluding":"5.4.30","matchCriteriaId":"AD052020-AA37-4F49-A0FE-EA99616C12C7"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5.0","versionEndExcluding":"5.5.14","matchCriteriaId":"4ADC6057-9D35-4D87-B15D-F6F52A283464"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2014","CveId":"3981","Ordinal":"1","Title":"CVE-2014-3981","CVE":"CVE-2014-3981","Year":"2014"},"notes":[{"CveYear":"2014","CveId":"3981","Ordinal":"1","NoteData":"acinclude.m4, as used in the configure script in PHP 5.5.13 and earlier, allows local users to overwrite arbitrary files via a symlink attack on the /tmp/phpglibccheck file.","Type":"Description","Title":"CVE-2014-3981"},{"CveYear":"2014","CveId":"3981","Ordinal":"2","NoteData":"2014-06-08","Type":"Other","Title":"Published"},{"CveYear":"2014","CveId":"3981","Ordinal":"3","NoteData":"2017-01-04","Type":"Other","Title":"Modified"}]}}}