CVE-2025-15547: Jail escape by a privileged user via nullfs

Published Mar 9, 2026
·
Updated

By default, jailed processes cannot mount filesystems, including nullfs(4). However, the allow.mount.nullfs option enables mounting nullfs filesystems, subject to privilege checks.

If a privileged user within a jail is able to nullfs-mount directories, a limitation of the kernel's path lookup logic allows that user to escape the jail's chroot, yielding access to the full filesystem of the host or parent jail.

In a jail configured to allow nullfs(4) mounts from within the jail, the jailed root user can escape the jail's filesystem root.

Affected Software

17 affected components
FreeBSD FreeBSD=13.5
FreeBSD FreeBSD=13.5-p1
FreeBSD FreeBSD=13.5-p2
FreeBSD FreeBSD=13.5-p3
FreeBSD FreeBSD=13.5-p4
FreeBSD FreeBSD=13.5-p5
FreeBSD FreeBSD=13.5-p6
FreeBSD FreeBSD=13.5-p7
FreeBSD FreeBSD=13.5-p8
FreeBSD FreeBSD=14.3
FreeBSD FreeBSD=14.3-p1
FreeBSD FreeBSD=14.3-p2
FreeBSD FreeBSD=14.3-p3
FreeBSD FreeBSD=14.3-p4
FreeBSD FreeBSD=14.3-p5
FreeBSD FreeBSD=14.3-p6
FreeBSD FreeBSD=14.3-p7

Event History

Mar 9, 2026
CVE Published
via MITRE·11:46 AM
Data Sourced
via MITRE·11:46 AM
DescriptionWeakness
Data Sourced
via NVD·12:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-15547?

The severity of CVE-2025-15547 is considered high due to the potential for a privileged user to escape a jail environment.

2

How do I fix CVE-2025-15547?

To fix CVE-2025-15547, it is recommended to disable the allow.mount.nullfs option in your FreeBSD jails.

3

What versions of FreeBSD are affected by CVE-2025-15547?

CVE-2025-15547 affects FreeBSD versions 13.5 and 14.3 across multiple patch levels.

4

Can a non-privileged user exploit CVE-2025-15547?

No, only a privileged user within a jail can exploit CVE-2025-15547 by mounting nullfs directories.

5

What is nullfs and its role in CVE-2025-15547?

Nullfs is a filesystem type in FreeBSD that allows mounting directories within a jail, which can be misused if the allow.mount.nullfs option is enabled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203