CVE-2002-0542
CVE-2002-0542 is a high-severity vulnerability in Openbsd with a CVSS 2.0 base score of 7.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: High (CVSS 2.0 base score 7.2)
- EPSS exploit prediction: 2% (72nd percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Openbsd
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2002-0542?
- 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.
- How severe is CVE-2002-0542?
- CVE-2002-0542 has a CVSS 2.0 base score of 7.2, rated high severity.
- Is CVE-2002-0542 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (72nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2002-0542?
- CVE-2002-0542 primarily affects Openbsd. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2002-0542?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2002-0542 published?
- CVE-2002-0542 was published on 2002-07-03 and last updated on 2026-06-16.
References
- http://marc.info/?l=bugtraq&m=101855467811695&w=2
- http://online.securityfocus.com/archive/1/267089
- http://www.iss.net/security_center/static/8818.php
- http://www.openbsd.org/errata30.html#mail
- http://www.osvdb.org/5269
- http://www.securityfocus.com/bid/4495
Affected products (2)
- cpe:2.3:o:openbsd:openbsd:2.9:*:*:*:*:*:*:*
- cpe:2.3:o:openbsd:openbsd:3.0:*:*:*:*:*:*:*
More vulnerabilities in Openbsd
- CVE-2007-1365 — Critical (CVSS 10.0): Buffer overflow in kern/uipc_mbuf2.c in OpenBSD 3.9 and 4.0 allows remote attackers to execute arbitrary code via…
- CVE-2006-4304 — Critical (CVSS 10.0): Buffer overflow in the sppp driver in FreeBSD 4.11 through 6.1, NetBSD 2.0 through 4.0 beta before 20060823, and…
- CVE-2004-0492 — Critical (CVSS 10.0): Heap-based buffer overflow in proxy_util.c for mod_proxy in Apache 1.3.25 to 1.3.31 allows remote attackers to cause a…
- CVE-2004-0414 — Critical (CVSS 10.0): CVS 1.12.x through 1.12.8, and 1.11.x through 1.11.16, does not properly handle malformed "Entry" lines, which prevents…
- CVE-2004-0416 — Critical (CVSS 10.0): Double free vulnerability for the error_prog_name string in CVS 1.12.x through 1.12.8, and 1.11.x through 1.11.16, may…
- CVE-2004-0418 — Critical (CVSS 10.0): serve_notify in CVS 1.12.x through 1.12.8, and 1.11.x through 1.11.16, does not properly handle empty data lines, which…