CVE-2026-49419: Jail reference count underflow
CVE-2026-49419 affects 14 listed versions of FreeBSD in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
FreeBSD
14 of 250 listed versions are affected. Fixed in 15.1-RELEASE-p1, 15.0-RELEASE-p11. The newest release, 15.1-p7, is not affected.
15.1 15.1-rc3-p1 15.1-rc2 15.0-p10 15.0-p9 15.0-p8 15.0-p7 15.0-p6 15.0-p5 15.0-p4 15.0-p3 15.0-p2 15.0-p1 15.0
What it is
When the JAIL_AT_DESC flag is specified, kern_jail_set() and kern_jail_get() released the reference to the caller's current prison before looking up the jail descriptor. If the descriptor lookup failed, error-handling paths released the same reference a second time. An unprivileged local user can trigger a prison reference count underflow, which may cause the prison structure to be freed while still in use. When this is done on the jail host, the bug will generally result in an immediate panic. However, if the user is running in a jail, then it may be possible to exploit the bug to elevate privileges.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (Freebsd)
Published by Freebsd on 19 August 2026. Last changed 5 November 2026.
Sources
Check one version you run: look CVE-2026-49419 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.