# CVE-2020-25582: In FreeBSD 12.2-STABLE before r369334, 11.4-STABLE before r369335, 12.2-RELEASE before p4 and 11.4-RELEASE before p8 when a process, such a…

- Severity: High 8.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/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.72%, higher than 55% of CVEs (2026-12-01)
- Published: 2021-03-26T20:41:04.000Z
- Modified: 2026-06-17T03:06:55.843Z
- Weaknesses: CWE-362
- Assigned by: freebsd

## Description

In FreeBSD 12.2-STABLE before r369334, 11.4-STABLE before r369335, 12.2-RELEASE before p4 and 11.4-RELEASE before p8 when a process, such as jexec(8) or killall(1), calls jail_attach(2) to enter a jail, the jailed root can attach to it using ptrace(2) before the current working directory is changed.

(As written by CVE List.)

## Affected

- FreeBSD: FreeBSD 12.2-RELEASE before p4, 11.4-RELEASE before p8
- freebsd freebsd: 11.4; 12.2

## Every score

- NVD: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:2.0 8.5 High `AV:N/AC:L/Au:S/C:C/I:C/A:N`

## References

- <https://security.FreeBSD.org/advisories/FreeBSD-SA-21:05.jail_chdir.asc> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20210423-0003/> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2020-25582 · Whole record: https://cve.day/CVE-2020-25582.json · Rebuilt by cve.day 2026-11-25T22:57:57.672Z
