BreachSpiderVerified, not vibes

CVE-2002-0820 in Freebsd

High 7.2 Fix available

FreeBSD kernel 4.6 and earlier closes the file descriptors 0, 1, and 2 after they have already been assigned to /dev/null when the descriptors reference procfs or linprocfs, which could allow local users to reuse the file descriptors in a setuid or setgid program to modify critical data and gain privileges.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 2.07.2
EPSS0.4%
EPSS percentile27th
FixAvailable

Requires local access, low complexity.

Affected products and versions

VendorProductAffected versions
Freebsd Freebsd 4.6

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

FreeBSD kernel 4.6 and earlier closes the file descriptors 0, 1, and 2 after they have already been assigned to /dev/null when the descriptors reference procfs or linprocfs, which could allow local users to reuse the file descriptors in a setuid or setgid program to modify critical data and gain privileges.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2002-0820
BreachSpider IDBS-2002-GLOBAL-351128-H
CVSS vectorAV:L/AC:L/Au:N/C:C/I:C/A:C
Published2002-08-12
Last modified2026-04-16
SourceNVD

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2002. A high severity vulnerability affects Freebsd systems (CVE-2002-0820). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: FreeBSD kernel 4.6 and earlier closes the file descriptors 0, 1, and 2 after they have already been assigned to /dev/null when the descriptors reference procfs or linprocfs, which could allow local users to reuse the file descriptors in a setuid or setgid program to modify critical data and gain privileges. CVSS vector: AV:L/AC:L/Au:N/C:C/I:C/A:C.

Questions

What is CVE-2002-0820?

This vulnerability was disclosed in 2002. A high severity vulnerability affects Freebsd systems (CVE-2002-0820). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2002-0820?

CVE-2002-0820 has CVSS 7.2 (High). Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C. EPSS: 0.4%.

Is CVE-2002-0820 actively exploited?

No confirmed active exploitation of CVE-2002-0820 as of 2026-05-30.

How do I remediate CVE-2002-0820?

Priority: MEDIUM. PSIRT: [email protected]

What systems are affected by CVE-2002-0820?

CVE-2002-0820 affects Freebsd Freebsd.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Freebsd","product":"Freebsd","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-16.