{"api_version":"1","generated_at":"2026-07-23T09:40:26+00:00","cve":"CVE-2009-0641","urls":{"html":"https://cve.report/CVE-2009-0641","api":"https://cve.report/api/cve/CVE-2009-0641.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2009-0641","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2009-0641"},"summary":{"title":"CVE-2009-0641","description":"sys_term.c in telnetd in FreeBSD 7.0-RELEASE and other 7.x versions deletes dangerous environment variables with a method that was valid only in older FreeBSD distributions, which might allow remote attackers to execute arbitrary code by passing a crafted environment variable from a telnet client, as demonstrated by an LD_PRELOAD value that references a malicious library.","state":"PUBLISHED","assigner":"mitre","published_at":"2009-02-20 06:47:48","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-16","CWE-264","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"9.3","severity":"","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","baseScore":9.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2009-February/067954.html","name":"http://lists.grok.org.uk/pipermail/full-disclosure/2009-February/067954.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"[Full-disclosure] FreeBSD zeroday","mime":"text/x-c","httpstatus":"404","archivestatus":"200"},{"url":"http://security.freebsd.org/advisories/FreeBSD-SA-09:05.telnetd.asc","name":"http://security.freebsd.org/advisories/FreeBSD-SA-09:05.telnetd.asc","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/33777","name":"http://www.securityfocus.com/bid/33777","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"FreeBSD 'telnetd' Daemon Remote Code Execution Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48780","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48780","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/8055","name":"https://www.exploit-db.com/exploits/8055","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"FreeBSD 7.0-RELEASE Telnet Daemon Local Privilege Escalation Exploit","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2009-0641","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-0641","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":"641","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"641","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"7.0","cpe7":"beta_4","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"641","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"7.0","cpe7":"current","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"641","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"7.0-release","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"641","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"7.0_beta4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"641","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"7.0_releng","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"641","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"7.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2009","cve_id":"641","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"7.1","cpe7":"rc1","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:40:05.105Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"FreeBSD-SA-09:05","tags":["vendor-advisory","x_refsource_FREEBSD","x_transferred"],"url":"http://security.freebsd.org/advisories/FreeBSD-SA-09:05.telnetd.asc"},{"name":"freebsd-telnet-ldpreload-code-execution(48780)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48780"},{"name":"33777","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/33777"},{"name":"20090214 FreeBSD zeroday","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"],"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2009-February/067954.html"},{"name":"8055","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"],"url":"https://www.exploit-db.com/exploits/8055"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2009-02-14T00:00:00.000Z","descriptions":[{"lang":"en","value":"sys_term.c in telnetd in FreeBSD 7.0-RELEASE and other 7.x versions deletes dangerous environment variables with a method that was valid only in older FreeBSD distributions, which might allow remote attackers to execute arbitrary code by passing a crafted environment variable from a telnet client, as demonstrated by an LD_PRELOAD value that references a malicious library."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-09-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"FreeBSD-SA-09:05","tags":["vendor-advisory","x_refsource_FREEBSD"],"url":"http://security.freebsd.org/advisories/FreeBSD-SA-09:05.telnetd.asc"},{"name":"freebsd-telnet-ldpreload-code-execution(48780)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48780"},{"name":"33777","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/33777"},{"name":"20090214 FreeBSD zeroday","tags":["mailing-list","x_refsource_FULLDISC"],"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2009-February/067954.html"},{"name":"8055","tags":["exploit","x_refsource_EXPLOIT-DB"],"url":"https://www.exploit-db.com/exploits/8055"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2009-0641","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":"sys_term.c in telnetd in FreeBSD 7.0-RELEASE and other 7.x versions deletes dangerous environment variables with a method that was valid only in older FreeBSD distributions, which might allow remote attackers to execute arbitrary code by passing a crafted environment variable from a telnet client, as demonstrated by an LD_PRELOAD value that references a malicious library."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"FreeBSD-SA-09:05","refsource":"FREEBSD","url":"http://security.freebsd.org/advisories/FreeBSD-SA-09:05.telnetd.asc"},{"name":"freebsd-telnet-ldpreload-code-execution(48780)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48780"},{"name":"33777","refsource":"BID","url":"http://www.securityfocus.com/bid/33777"},{"name":"20090214 FreeBSD zeroday","refsource":"FULLDISC","url":"http://lists.grok.org.uk/pipermail/full-disclosure/2009-February/067954.html"},{"name":"8055","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/8055"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2009-0641","datePublished":"2009-02-18T17:00:00.000Z","dateReserved":"2009-02-18T00:00:00.000Z","dateUpdated":"2024-08-07T04:40:05.105Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2009-02-20 06:47:48","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-16","CWE-264","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","baseScore":9.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":8.6,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":true,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.0:*:*:*:*:*:*:*","matchCriteriaId":"47E0A416-733A-4616-AE08-150D67FCEA70"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.0:beta_4:*:*:*:*:*:*","matchCriteriaId":"CDFA5AA9-E73F-448D-9754-41AF9AECB93A"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.0:current:*:*:*:*:*:*","matchCriteriaId":"C4E775BA-6DC1-4006-83A4-D30EA57417FC"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.0-release:*:*:*:*:*:*:*","matchCriteriaId":"EC290462-4364-464F-8CE9-6F5E5BE6F246"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.0_beta4:*:*:*:*:*:*:*","matchCriteriaId":"F06B831E-D8F2-4380-B279-559CE103210F"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.0_releng:*:*:*:*:*:*:*","matchCriteriaId":"3ACC9072-4A33-4F1F-B790-2F9D5A52F71B"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.1:*:*:*:*:*:*:*","matchCriteriaId":"803EFA9F-B7CB-4511-B1C1-381170CA9A23"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.1:rc1:*:*:*:*:*:*","matchCriteriaId":"52DBF406-9C77-4DDA-AB7D-40FAE40023D0"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2009","CveId":"641","Ordinal":"1","Title":"CVE-2009-0641","CVE":"CVE-2009-0641","Year":"2009"},"notes":[{"CveYear":"2009","CveId":"641","Ordinal":"1","NoteData":"sys_term.c in telnetd in FreeBSD 7.0-RELEASE and other 7.x versions deletes dangerous environment variables with a method that was valid only in older FreeBSD distributions, which might allow remote attackers to execute arbitrary code by passing a crafted environment variable from a telnet client, as demonstrated by an LD_PRELOAD value that references a malicious library.","Type":"Description","Title":"CVE-2009-0641"},{"CveYear":"2009","CveId":"641","Ordinal":"2","NoteData":"2009-02-18","Type":"Other","Title":"Published"},{"CveYear":"2009","CveId":"641","Ordinal":"3","NoteData":"2017-09-28","Type":"Other","Title":"Modified"}]}}}