{"id":"CVE-2006-0145","aliases":["EUVD-2006-0153","GHSA-vjcq-9wcj-6rq5"],"status":"published","title":"The kernfs_xread function in kernfs in NetBSD 1.6 through 2.1, and OpenBSD 3.8, does not properly...","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.","severity":{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00367,"percentile":0.3078,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2006-01-09T23:00:00Z","modified":"2026-06-16T22:19:58Z","products":[{"vendor":"netbsd","product":"netbsd"}],"references":[{"url":"http://secunia.com/advisories/18712","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.securitylab.net/research/2006/02/advisory_netbsd_openbsd_kernfs.html","tags":["x_refsource_MISC","x_transferred","Vendor Advisory"]},{"url":"http://securityreason.com/securityalert/405","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]},{"url":"http://www.securityfocus.com/bid/16173","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch"]},{"url":"http://secunia.com/advisories/18388","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.osvdb.org/22293","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2006-001.txt.asc","tags":["vendor-advisory","x_refsource_NETBSD","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/24035","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/423827/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-0145"},{"url":"https://github.com/advisories/GHSA-vjcq-9wcj-6rq5"}],"sources":{"cve":[{"id":"CVE-2006-0145","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.","status":"published","published":"2006-01-09T23:00:00Z","modified":"2024-08-07T16:25:33.919Z","updated_at":"2026-11-02T14:33:52.947472Z"}],"euvd":[{"id":"EUVD-2006-0153","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.","status":"published","published":"2006-01-09T23:00:00Z","modified":"2024-08-07T16:25:33Z","updated_at":"2026-11-03T01:16:10.838416Z"}],"ghsa":[{"id":"GHSA-vjcq-9wcj-6rq5","title":"The kernfs_xread function in kernfs in NetBSD 1.6 through 2.1, and OpenBSD 3.8, does not properly...","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.","status":"published","published":"2022-05-03T03:15:28Z","modified":"2023-02-01T05:01:12Z","updated_at":"2026-11-02T14:49:41.113902Z"}],"nvd":[{"id":"CVE-2006-0145","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.","status":"published","published":"2006-01-09T23:03:00Z","modified":"2026-06-16T22:19:58.893Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:01:00.269596Z"}]}}
