{"id":"CVE-2002-0542","aliases":["EUVD-2002-0537","GHSA-2r4p-jx45-wqw6"],"status":"published","title":"mail in OpenBSD 2.9 and 3.0 processes a tilde (~) escape character in a message even when it is...","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.","severity":{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01532,"percentile":0.74969,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2002-07-03T04:00:00Z","modified":"2026-06-16T21:57:38Z","exploits":[{"source":"exploitdb","id":"EDB-21373","title":"OpenBSD 2.9/3.0 - Default Crontab Root Command Injection","type":"local","platform":"openbsd","date":"2002-04-11","verified":true,"url":"https://www.exploit-db.com/exploits/21373"}],"products":[{"vendor":"openbsd","product":"openbsd"}],"references":[{"url":"http://www.openbsd.org/errata30.html#mail","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=101855467811695\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.securityfocus.com/bid/4495","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","Patch","Vendor Advisory"]},{"url":"http://www.iss.net/security_center/static/8818.php","tags":["vdb-entry","x_refsource_XF","x_transferred","Patch","Vendor Advisory"]},{"url":"http://online.securityfocus.com/archive/1/267089","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Exploit","Vendor Advisory"]},{"url":"http://www.osvdb.org/5269","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2002-0542"},{"url":"https://github.com/advisories/GHSA-2r4p-jx45-wqw6"}],"sources":{"cve":[{"id":"CVE-2002-0542","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.","status":"published","published":"2003-04-02T05:00:00Z","modified":"2024-08-08T02:56:37.079Z","updated_at":"2026-11-02T14:33:55.642267Z"}],"euvd":[{"id":"EUVD-2002-0537","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.","status":"published","published":"2003-04-02T05:00:00Z","modified":"2024-08-08T02:56:37Z","updated_at":"2026-11-03T01:15:00.061756Z"}],"ghsa":[{"id":"GHSA-2r4p-jx45-wqw6","title":"mail in OpenBSD 2.9 and 3.0 processes a tilde (~) escape character in a message even when it is...","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.","status":"published","published":"2022-04-30T18:19:26Z","modified":"2023-01-30T05:05:51Z","updated_at":"2026-11-02T14:47:22.035472Z"}],"nvd":[{"id":"CVE-2002-0542","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.","status":"published","published":"2002-07-03T04:00:00Z","modified":"2026-06-16T21:57:38.517Z","cvss":[{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:42.220505Z"}]}}
