{"api_version":"1","generated_at":"2026-07-23T10:04:31+00:00","cve":"CVE-2009-0314","urls":{"html":"https://cve.report/CVE-2009-0314","api":"https://cve.report/api/cve/CVE-2009-0314.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2009-0314","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2009-0314"},"summary":{"title":"CVE-2009-0314","description":"Untrusted search path vulnerability in the Python module in gedit allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983).","state":"PUBLISHED","assigner":"mitre","published_at":"2009-01-28 11:30:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-426","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"6.9","severity":"","vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:C/I:C/A:C","baseScore":6.9,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"http://www.securityfocus.com/bid/33445","name":"http://www.securityfocus.com/bid/33445","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"gedit 'PySys_SetArgv' Remote Command Execution Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://secunia.com/advisories/33759","name":"http://secunia.com/advisories/33759","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"GNOME gedit Insecure Python Module Search Path Vulnerability - Secunia Advisories - Vulnerability Intelligence - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=481556","name":"https://bugzilla.redhat.com/show_bug.cgi?id=481556","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"],"title":"Bug 481556 – CVE-2009-0314 gedit: untrusted python modules search path","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://bugzilla.gnome.org/show_bug.cgi?id=569214","name":"http://bugzilla.gnome.org/show_bug.cgi?id=569214","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Issue Tracking","Patch","Vendor Advisory"],"title":"Bug 569214 – gedit: untrusted python modules search path","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:039","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:039","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Support / Security / Advisories /  / MDVSA-2009:039 | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/33769","name":"http://secunia.com/advisories/33769","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Fedora update for gedit - Secunia Advisories - Vulnerability Intelligence - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2009/01/26/2","name":"http://www.openwall.com/lists/oss-security/2009/01/26/2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List"],"title":"oss-security - CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany,\n\tcsound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://security.gentoo.org/glsa/glsa-200903-41.xml","name":"http://security.gentoo.org/glsa/glsa-200903-41.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Gentoo Linux Documentation\n--\n  gedit: Untrusted search path","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-January/msg01195.html","name":"https://www.redhat.com/archives/fedora-package-announce/2009-January/msg01195.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"[SECURITY] Fedora 9 Update: gedit-2.22.3-3.fc9","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/34522","name":"http://secunia.com/advisories/34522","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Gentoo update for gedit - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48271","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48271","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2009-0314","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-0314","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":"2009","cve_id":"314","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"9","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"314","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnome","cpe5":"libpeas","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-07T04:31:25.579Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"33769","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/33769"},{"name":"MDVSA-2009:039","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:039"},{"name":"gedit-pysyssetargv-privilege-escalation(48271)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48271"},{"name":"FEDORA-2009-1189","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://www.redhat.com/archives/fedora-package-announce/2009-January/msg01195.html"},{"name":"33445","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/33445"},{"name":"GLSA-200903-41","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://security.gentoo.org/glsa/glsa-200903-41.xml"},{"name":"[oss-security] 20090126 CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2009/01/26/2"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://bugzilla.gnome.org/show_bug.cgi?id=569214"},{"name":"34522","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/34522"},{"name":"33759","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/33759"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=481556"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2009-01-26T00:00:00.000Z","descriptions":[{"lang":"en","value":"Untrusted search path vulnerability in the Python module in gedit allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983)."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-07T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"33769","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/33769"},{"name":"MDVSA-2009:039","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:039"},{"name":"gedit-pysyssetargv-privilege-escalation(48271)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48271"},{"name":"FEDORA-2009-1189","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://www.redhat.com/archives/fedora-package-announce/2009-January/msg01195.html"},{"name":"33445","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/33445"},{"name":"GLSA-200903-41","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://security.gentoo.org/glsa/glsa-200903-41.xml"},{"name":"[oss-security] 20090126 CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2009/01/26/2"},{"tags":["x_refsource_MISC"],"url":"http://bugzilla.gnome.org/show_bug.cgi?id=569214"},{"name":"34522","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/34522"},{"name":"33759","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/33759"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=481556"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2009-0314","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":"Untrusted search path vulnerability in the Python module in gedit allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"33769","refsource":"SECUNIA","url":"http://secunia.com/advisories/33769"},{"name":"MDVSA-2009:039","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:039"},{"name":"gedit-pysyssetargv-privilege-escalation(48271)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48271"},{"name":"FEDORA-2009-1189","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2009-January/msg01195.html"},{"name":"33445","refsource":"BID","url":"http://www.securityfocus.com/bid/33445"},{"name":"GLSA-200903-41","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200903-41.xml"},{"name":"[oss-security] 20090126 CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2009/01/26/2"},{"name":"http://bugzilla.gnome.org/show_bug.cgi?id=569214","refsource":"MISC","url":"http://bugzilla.gnome.org/show_bug.cgi?id=569214"},{"name":"34522","refsource":"SECUNIA","url":"http://secunia.com/advisories/34522"},{"name":"33759","refsource":"SECUNIA","url":"http://secunia.com/advisories/33759"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=481556","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=481556"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2009-0314","datePublished":"2009-01-28T11:00:00.000Z","dateReserved":"2009-01-27T00:00:00.000Z","dateUpdated":"2024-08-07T04:31:25.579Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2009-01-28 11:30:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-426","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:C/I:C/A:C","baseScore":6.9,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"MEDIUM","exploitabilityScore":3.4,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":true,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:gnome:libpeas:*:*:*:*:*:*:*:*","versionEndExcluding":"0.5.3","matchCriteriaId":"D0F316A0-65A7-451F-A688-CD4AD23401A8"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:fedoraproject:fedora:9:*:*:*:*:*:*:*","matchCriteriaId":"743CBBB1-C140-4FEF-B40E-FAE4511B1140"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2009","CveId":"314","Ordinal":"1","Title":"CVE-2009-0314","CVE":"CVE-2009-0314","Year":"2009"},"notes":[{"CveYear":"2009","CveId":"314","Ordinal":"1","NoteData":"Untrusted search path vulnerability in the Python module in gedit allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983).","Type":"Description","Title":"CVE-2009-0314"},{"CveYear":"2009","CveId":"314","Ordinal":"2","NoteData":"2009-01-28","Type":"Other","Title":"Published"},{"CveYear":"2009","CveId":"314","Ordinal":"3","NoteData":"2017-08-07","Type":"Other","Title":"Modified"}]}}}