{"id":"CVE-2006-0145","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"The kernfs_xread function in kernfs in NetBSD 1.6 through 2.1, and OpenBSD 3.8, does not properly validate file offsets…","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.","ai_summary":null,"severity":"medium","cvss":{"score":4.6,"version":"2.0","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","source":"NVD"},"scores":[{"score":4.6,"version":"2.0","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":[],"remote":false,"remote_unauth":false,"epss":{"score":0.00367,"percentile":0.32604,"date":"2026-12-04"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://secunia.com/advisories/18712","kind":"vendor"},{"url":"http://www.securitylab.net/research/2006/02/advisory_netbsd_openbsd_kernfs.html","kind":"vendor"},{"url":"http://secunia.com/advisories/18388","kind":"vendor"},{"url":"http://www.securityfocus.com/bid/16173","kind":"patch"},{"url":"http://securityreason.com/securityalert/405","kind":"other"},{"url":"http://www.osvdb.org/22293","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/24035","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/423827/100/0/threaded","kind":"other"}],"workarounds":null,"vendors":["netbsd"],"products":["netbsd"],"cpes":["cpe:2.3:o:netbsd:netbsd:1.6.1:*:*:*:*:*:*:*","cpe:2.3:o:netbsd:netbsd:1.6.2:*:*:*:*:*:*:*","cpe:2.3:o:netbsd:netbsd:1.6:*:*:*:*:*:*:*","cpe:2.3:o:netbsd:netbsd:1.6:beta:*:*:*:*:*:*","cpe:2.3:o:netbsd:netbsd:2.0.1:*:*:*:*:*:*:*","cpe:2.3:o:netbsd:netbsd:2.0.2:*:*:*:*:*:*:*","cpe:2.3:o:netbsd:netbsd:2.0.3:*:*:*:*:*:*:*","cpe:2.3:o:netbsd:netbsd:2.0:*:*:*:*:*:*:*","cpe:2.3:o:netbsd:netbsd:2.1:*:*:*:*:*:*:*"],"published_at":"2006-01-09T23:00:00.000Z","modified_at":"2026-06-16T22:19:58.893Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2006-0145"}],"links":{"html":"https://flawdb.com/CVE-2006-0145","markdown":"https://flawdb.com/CVE-2006-0145.md","json":"https://flawdb.com/api/v1/entries/CVE-2006-0145"}}