CVE-2002-0572: Freebsd

High severity, CVSS 7.2. EPSS: 1.6% chance of exploitation in the next 30 days.

FreeBSD 4.5 and earlier, and possibly other BSD-based operating systems, allows local users to write to or read from restricted files by closing the file descriptors 0 (standard input), 1 (standard output), or 2 (standard error), which may then be reused by a called setuid process that intended to perform I/O on normal files.

Affected products

  • Freebsd Freebsd: version 4.4 only; version 4.5 only
  • OpenBSD OpenBSD: version 2.0 only; version 2.1 only; version 2.2 only; version 2.3 only
  • Sun Solaris: version 2.5.1 only; version 2.6 only; version 7.0 only; version 8.0 only
  • Sun Sunos: affected versions not specified; version 5.5.1 only; version 5.7 only; version 5.8 only

Published 2002-07-03. Last modified 2026-06-16.