Back
CVE-2006-0145
The kernfs_xread function in kernfs in NetBSD 1.6 through 2.1, and OpenBSD 3.8, does not properly validate file offsets against negative…
Medium4.6EPSS 0.37%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
The kernfs_xread function in kernfs in NetBSD 1.6 through 2.1, and OpenBSD 3.8, does not properly validate file offsets against negative 32-bit values that occur as a result of truncation, which allows local users to read arbitrary kernel memory and gain privileges via the lseek system call.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 0.37% · top 69% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.6.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (8)
- 18712 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.securitylab.net/research/2006/02/advisory_netbsd_openbsd_kernfs.html (opens in a new tab)x_refsource_MISCx_transferred
- 405 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- 16173 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 18388 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 22293 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- netbsd-kernfs-memory-disclosure(24035) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 20060202 [SLAB] NetBSD / OpenBSD kernfs_xread patch evasion (opens in a new tab)mailing-listx_refsource_BUGTRAQx_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://trackcve.app/cve/CVE-2006-0145)Record last updated .