Live threats

All CVEs / Netbsd

CVE-2006-0145Netbsd

Medium 4.6

Priority
28
CVSS 2.0
4.6
EPSS
0.4%
probability of exploitation in 30 days · percentile 33
Auth required
Yes
Published
Jan 9, 2006
Updated
Jun 16, 2026
Category
Operating system · Cross-platform
Vector
AV:L/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Netbsd.

Affected products (CPE)

VendorProductVersions
netbsdnetbsd1.6
netbsdnetbsd1.6
netbsdnetbsd1.6.1
netbsdnetbsd1.6.2
netbsdnetbsd2.0
netbsdnetbsd2.0.1
netbsdnetbsd2.0.2
netbsdnetbsd2.0.3
netbsdnetbsd2.1

Official sources

References

Links published by the sources. Open them with care.