Vulnerabilities · 2002 · Openbsd
CVE-2002-0542
Openbsd vulnerability
mail in OpenBSD 2.9 and 3.0 processes a tilde (~) escape character in a message even when it is not in interactive mode, which could allow local users to gain root privileges via calls to mail in cron.
Affected products
Openbsd. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Openbsd runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- online.securityfocus.com/archive/1/267089 · Exploit
- www.iss.net/security_center/static/8818.php · Patch
- www.securityfocus.com/bid/4495 · Exploit
- marc.info/?l=bugtraq&m=101855467811695&w=2
- www.openbsd.org/errata30.html#mail
- www.osvdb.org/5269
- nvd.nist.gov/vuln/detail/CVE-2002-0542
- cve.org/CVERecord?id=CVE-2002-0542
More vulnerabilities in Openbsd products
CVE-2025-32728CVE-2025-30334CVE-2025-26466CVE-2025-26465CVE-2024-29937CVE-2024-11149CVE-2024-11148CVE-2024-10934All 307
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.