CVE-2006-0145

high

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.

References

https://exchange.xforce.ibmcloud.com/vulnerabilities/24035

http://www.securitylab.net/research/2006/02/advisory_netbsd_openbsd_kernfs.html

http://www.securityfocus.com/bid/16173

http://www.securityfocus.com/archive/1/423827/100/0/threaded

http://www.osvdb.org/22293

http://securityreason.com/securityalert/405

http://secunia.com/advisories/18712

http://secunia.com/advisories/18388

Details

Source: Mitre, NVD

Published: 2006-01-09

Updated: 2026-04-16

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High

EPSS

EPSS: 0.00073