CVE-2009-0641Freebsd
Critical 9.3 No auth needed
Follow: this CVE · Freebsd · Freebsd We alert you by email or Slack (account required).
- Priority
- 72
- CVSS 2.0
- 9.3
- EPSS
- 9.3% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Feb 20, 2009
- Updated
- Jun 16, 2026
- Category
- Operating system · Cross-platform
- Vector
AV:N/AC:M/Au:N/C:C/I:C/A:C
What happens
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.
What to do
- Apply the vendor's security update for Freebsd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| freebsd | freebsd | 7.0 |
| freebsd | freebsd | 7.0 |
| freebsd | freebsd | 7.0 |
| freebsd | freebsd | 7.0-release |
| freebsd | freebsd | 7.0_beta4 |
| freebsd | freebsd | 7.0_releng |
| freebsd | freebsd | 7.1 |
| freebsd | freebsd | 7.1 |
Official sources
References
Links published by the sources. Open them with care.
- lists.grok.org.uk Exploit
- security.freebsd.org Patch
- www.securityfocus.com Exploit
- exchange.xforce.ibmcloud.com
- www.exploit-db.com