CVE-2004-0126

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

Key facts

Description

The jail_attach system call in FreeBSD 5.1 and 5.2 changes the directory of a calling process even if the process doesn't have permission to change directory, which allows local users to gain read/write privileges to files and directories within another jail.

Frequently asked questions

What is CVE-2004-0126?
The jail_attach system call in FreeBSD 5.1 and 5.2 changes the directory of a calling process even if the process doesn't have permission to change directory, which allows local users to gain read/write privileges to files and directories within another jail.
How severe is CVE-2004-0126?
CVE-2004-0126 has a CVSS 2.0 base score of 4.6, rated medium severity.
Is CVE-2004-0126 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (25th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2004-0126?
CVE-2004-0126 primarily affects Freebsd. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2004-0126?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2004-0126 published?
CVE-2004-0126 was published on 2004-03-29 and last updated on 2026-06-16.

References

Affected products (4)

More vulnerabilities in Freebsd

All CVEs affecting Freebsd →