Back
CVE-2004-2012
The systrace_exit function in the systrace utility for NetBSD-current and 2.0 before April 16, 2004, and certain FreeBSD ports, does not…
High7.2EPSS 0.85%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
The systrace_exit function in the systrace utility for NetBSD-current and 2.0 before April 16, 2004, and certain FreeBSD ports, does not verify the owner of the /dec/systrace connection before setting euid to 0, which allows local users to gain root privileges.
Timeline
ID reserved
By mitre
- 6 days later
· 6 days later
Published
- 19 years later
· 19 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 0.85% · top 41% of all CVEs (8 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.2.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (4)
- 20040510 Advisory 04/2004: Net(Free)BSD Systrace local root vulnerabilitiy (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 10320 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- systrace-gain-privileges(16110) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 11585 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2004-2012)Record last updated .