# CVE-2026-49419: Jail reference count underflow

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-08-19T04:32:39.446Z
- Modified: 2026-11-05T20:10:00.200Z
- Weaknesses: CWE-911
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: freebsd

## Description

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.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 15.1-RELEASE before p1; from 15.0-RELEASE before p11; 15.0; 15.1

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-26:38.jail.asc> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-49419](https://www.cve.org/CVERecord?id=CVE-2026-49419), CVE Terms of Use, modified 2026-08-20
- NVD: [CVE-2026-49419](https://nvd.nist.gov/vuln/detail/CVE-2026-49419), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-49419 · Whole record: https://cve.day/CVE-2026-49419.json · Rebuilt by cve.day 2026-11-25T22:59:33.895Z
