Every CVE Search/ Get API key

CVE-2002-0542

mail in OpenBSD 2.9 and 3.0 processes a tilde (~) escape character in a message even when it is...

7.2 HighPublic exploit

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.

Exploit likelihood

1.53%Down 0.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.2

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.

Record
CVE-2002-0542
CVSS 2.0
7.2 HighAV:L/AC:L/Au:N/C:C/I:C/A:C
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2002-0542
Updated
2026-11-02
EUVDEUVD-2002-0537 No score

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.

Record
EUVD-2002-0537
Updated
2026-11-03
GitHub AdvisoriesGHSA-2r4p-jx45-wqw6 No score

mail in OpenBSD 2.9 and 3.0 processes a tilde (~) escape character in a message even when it is...

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.

Record
GHSA-2r4p-jx45-wqw6
Updated
2026-11-02

Affected products

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBOpenBSD 2.9/3.0 - Default Crontab Root Command Injection2002-04-11

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2002-0542 is a high vulnerability (CVSS 7.2) in Openbsd, published July 3, 2002. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.53%, the 74th percentile. No source names a fixed version.

References

MoveEnter Open