FreeBSD Jail Escape via File Descriptor Exchange (CVE-2025-15576)
Vulnerability Disclosure · 2 sources · Updated 5mo ago · First seen Feb 27, 2026

FreeBSD issued security updates for FreeBSD 14.3 and FreeBSD 13.5 to address multiple vulnerabilities, including a critical jail/chroot escape tracked as CVE-2025-15576. The flaw allows a process to break out of FreeBSD jail isolation by abusing file descriptor (fd) exchange between jails, resulting in loss of filesystem isolation and potential access to the host filesystem; the Canadian Centre for Cyber Security urged administrators to review the advisories and apply updates.
Technical reporting indicates CVE-2025-15576 can be triggered in specific configurations where two sibling jails share a directory via a nullfs mount and can communicate over a Unix domain socket. In that scenario, cooperating processes can exchange directory file descriptors in a way that causes the kernel’s pathname lookup checks to fail to properly enforce the jail root boundary, enabling access to directories outside the jail. No workaround was noted; patching is required. Separately, FreeBSD also addressed CVE-2026-3038, described as a local DoS with possible privilege escalation via routing sockets.


