# CVE-2024-25941: jail(2) information leak

- Severity: Low 3.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- 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.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2024-02-15T04:27:06.726Z
- Modified: 2026-06-17T07:16:46.047Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: freebsd

## Description

The jail(2) system call has not limited a visiblity of allocated TTYs (the kern.ttys sysctl).  This gives rise to an information leak about processes outside the current jail.

Attacker can get information about TTYs allocated on the host or in other jails.  Effectively, the information printed by "pstat -t" may be leaked.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 14.0-RELEASE before p5; from 13.2-RELEASE before p10; before 13.2; 13.2; 14.0

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-24:02.tty.asc> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20240510-0003/> (third-party-advisory)

## Sources

- CVE List: [CVE-2024-25941](https://www.cve.org/CVERecord?id=CVE-2024-25941), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2024-25941](https://nvd.nist.gov/vuln/detail/CVE-2024-25941), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-25941 · Whole record: https://cve.day/CVE-2024-25941.json · Rebuilt by cve.day 2026-11-25T22:58:36.832Z
