Home / Freebsd / Freebsd / CVE-2007-0166
CVE-2007-0166: is it exploited, and which versions of Freebsd are affected and fixed?
CVE-2007-0166 is a vulnerability in Freebsd. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:08 UTC). Affected: freebsd through 6.2 and freebsd 5.3 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.6, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:53 UTC.
What is CVE-2007-0166?
The jail rc.d script in FreeBSD 5.3 up to 6.2 does not verify pathnames when writing to /var/log/console.log during a jail start-up, or when file systems are mounted or unmounted, which allows local root users to overwrite arbitrary files, or mount/unmount files, outside of the jail via a symlink attack.
From the CVE record by freebsd, last updated August 7, 2024, 12:12 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| freebsd | freebsd | through 6.2 | operating system |
| freebsd | freebsd | 5.3 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:35 UTC.
How severe is CVE-2007-0166?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.6 | CVSS 2.0 | AV:L/AC:M/Au:S/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2007-0166 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.41% probability of exploitation activity in the next 30 days, percentile 37.8 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- FreeBSD-SA-07:01 vendor-advisory, x_refsource_FREEBSD
- 22011 vdb-entry, x_refsource_BID
- 32726 vdb-entry, x_refsource_OSVDB
- 1017505 vdb-entry, x_refsource_SECTRACK
- 23730 third-party-advisory, x_refsource_SECUNIA
When was it published, and where is the official record?
- Reserved
- January 9, 2007
- Published
- January 11, 2007, 20:00 UTC
- CVE record updated
- August 7, 2024, 12:12 UTC by freebsd
- NVD
- Modified, last modified June 16, 2026, 22:35 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:53 UTC; KEV December 3, 2026, 08:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Freebsd?
- Oct 15, 2026CVE-2026-101311 FreeBSD: race condition
- Oct 15, 2026CVE-2026-101310 FreeBSD: buffer Over-read
- Oct 15, 2026CVE-2026-101309 FreeBSD: race condition
- Oct 15, 2026CVE-2026-101308 FreeBSD: time-of-check time-of-use race condition
- Oct 15, 2026CVE-2026-101307 FreeBSD: heap buffer overflow
- Oct 15, 2026CVE-2026-101303 FreeBSD: incorrectly Specified Destination in a Communication Channel
- Oct 15, 2026CVE-2026-101302 FreeBSD: off-by-one Error
- Oct 15, 2026CVE-2026-101306 FreeBSD: privilege escalation
Questions about CVE-2007-0166
Is CVE-2007-0166 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:08 UTC. FIRST's EPSS gives it a 0.41% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Freebsd are affected by CVE-2007-0166?
freebsd through 6.2 and freebsd 5.3, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2007-0166?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2007-0166?
Medium (6.6, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2007-0166?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.