CVE-2004-0114: Freebsd

Medium severity, CVSS 4.6. EPSS: 0.7% chance of exploitation in the next 30 days.

The shmat system call in the System V Shared Memory interface for FreeBSD 5.2 and earlier, NetBSD 1.3 and earlier, and OpenBSD 2.6 and earlier, does not properly decrement a shared memory segment's reference count when the vm_map_find function fails, which could allow local users to gain read or write access to a portion of kernel memory and gain privileges.

Affected products

  • Freebsd Freebsd: up to and including 5.2
  • Netbsd Netbsd: up to and including 1.3
  • OpenBSD OpenBSD: up to and including 2.6

Published 2004-03-03. Last modified 2026-06-16.