CVE-2007-0166

CVE-2007-0166 is a medium-severity vulnerability in Freebsd with a CVSS 2.0 base score of 6.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

Description

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.

Frequently asked questions

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.
How severe is CVE-2007-0166?
CVE-2007-0166 has a CVSS 2.0 base score of 6.6, rated medium severity.
Is CVE-2007-0166 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (31st percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2007-0166?
CVE-2007-0166 primarily affects Freebsd. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2007-0166?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2007-0166 published?
CVE-2007-0166 was published on 2007-01-11 and last updated on 2026-06-16.

References

Affected products (2)

More vulnerabilities in Freebsd

All CVEs affecting Freebsd →