What’s Vulnerable › Vulnerabilities
CVE-2006-0145
- Severity: medium (CVSS 4.6 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2006-01-09 · updated 2026-06-16
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.
Affected products
- Netbsd: 1.6, 1.6-beta, 1.6.1, 1.6.2, 2.0, 2.0.1 (+3)
References
- http://secunia.com/advisories/18388
- http://secunia.com/advisories/18712
- http://securityreason.com/securityalert/405
- http://www.osvdb.org/22293
- http://www.securityfocus.com/archive/1/423827/100/0/threaded
- http://www.securityfocus.com/bid/16173
- http://www.securitylab.net/research/2006/02/advisory_netbsd_openbsd_kernfs.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/24035
- http://secunia.com/advisories/18388
- http://secunia.com/advisories/18712
Get alerted when CVE-2006-0145 or the next vulnerability affects your stack