{"api_version":"1","generated_at":"2026-04-23T04:08:54+00:00","cve":"CVE-2007-5940","urls":{"html":"https://cve.report/CVE-2007-5940","api":"https://cve.report/api/cve/CVE-2007-5940.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-5940","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-5940"},"summary":{"title":"CVE-2007-5940","description":"feynmf.pl in feynmf 1.08, as used in TeXLive 2007, allows local users to overwrite arbitrary files and execute arbitrary code via a symlink attack on the feynmf$$.pl temporary file.","state":"PUBLISHED","assigner":"mitre","published_at":"2007-11-13 23:46:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-59","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.6","severity":"","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.vupen.com/english/advisories/2007/3974","name":"http://www.vupen.com/english/advisories/2007/3974","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Webmail : Solution de messagerie professionnelle - OVHcloud- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/27737","name":"http://secunia.com/advisories/27737","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"feynmf Insecure Temporary File Creation - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/27739","name":"http://secunia.com/advisories/27739","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo update for feynmf - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://osvdb.org/42397","name":"http://osvdb.org/42397","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=198231","name":"http://bugs.gentoo.org/show_bug.cgi?id=198231","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo Bug 198231 - dev-tex/feynmf < 1.08-r2 Insecure temporary file creation (CVE-2007-5940)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/26507","name":"http://www.securityfocus.com/bid/26507","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"feynmf feynmf.pl Insecure Temporary File Creation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://security.gentoo.org/glsa/glsa-200711-32.xml","name":"http://security.gentoo.org/glsa/glsa-200711-32.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo Linux Documentation\n--\n  Feynmf: Insecure temporary file creation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-5940","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-5940","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":"2007","cve_id":"5940","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"tug","cpe5":"texlive_2007","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-07T15:47:00.657Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://bugs.gentoo.org/show_bug.cgi?id=198231"},{"name":"27739","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/27739"},{"name":"GLSA-200711-32","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://security.gentoo.org/glsa/glsa-200711-32.xml"},{"name":"42397","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://osvdb.org/42397"},{"name":"27737","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/27737"},{"name":"ADV-2007-3974","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2007/3974"},{"name":"26507","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/26507"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2007-11-06T00:00:00.000Z","descriptions":[{"lang":"en","value":"feynmf.pl in feynmf 1.08, as used in TeXLive 2007, allows local users to overwrite arbitrary files and execute arbitrary code via a symlink attack on the feynmf$$.pl temporary file."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2007-11-28T10:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"http://bugs.gentoo.org/show_bug.cgi?id=198231"},{"name":"27739","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/27739"},{"name":"GLSA-200711-32","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://security.gentoo.org/glsa/glsa-200711-32.xml"},{"name":"42397","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://osvdb.org/42397"},{"name":"27737","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/27737"},{"name":"ADV-2007-3974","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2007/3974"},{"name":"26507","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/26507"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-5940","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":"feynmf.pl in feynmf 1.08, as used in TeXLive 2007, allows local users to overwrite arbitrary files and execute arbitrary code via a symlink attack on the feynmf$$.pl temporary file."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://bugs.gentoo.org/show_bug.cgi?id=198231","refsource":"CONFIRM","url":"http://bugs.gentoo.org/show_bug.cgi?id=198231"},{"name":"27739","refsource":"SECUNIA","url":"http://secunia.com/advisories/27739"},{"name":"GLSA-200711-32","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200711-32.xml"},{"name":"42397","refsource":"OSVDB","url":"http://osvdb.org/42397"},{"name":"27737","refsource":"SECUNIA","url":"http://secunia.com/advisories/27737"},{"name":"ADV-2007-3974","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/3974"},{"name":"26507","refsource":"BID","url":"http://www.securityfocus.com/bid/26507"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2007-5940","datePublished":"2007-11-13T23:00:00.000Z","dateReserved":"2007-11-13T00:00:00.000Z","dateUpdated":"2024-08-07T15:47:00.657Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-11-13 23:46:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-59","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:tug:texlive_2007:*:*:*:*:*:*:*:*","matchCriteriaId":"B01AD712-1D5C-49B6-AF51-4A4A2BA3FD83"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2007","CveId":"5940","Ordinal":"1","Title":"CVE-2007-5940","CVE":"CVE-2007-5940","Year":"2007"},"notes":[{"CveYear":"2007","CveId":"5940","Ordinal":"1","NoteData":"feynmf.pl in feynmf 1.08, as used in TeXLive 2007, allows local users to overwrite arbitrary files and execute arbitrary code via a symlink attack on the feynmf$$.pl temporary file.","Type":"Description","Title":"CVE-2007-5940"},{"CveYear":"2007","CveId":"5940","Ordinal":"2","NoteData":"2007-11-13","Type":"Other","Title":"Published"},{"CveYear":"2007","CveId":"5940","Ordinal":"3","NoteData":"2007-11-28","Type":"Other","Title":"Modified"}]}}}