# CVE-2022-23085: Potential jail escape vulnerabilities in netmap

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/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.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2024-02-15T04:52:17.556Z
- Modified: 2026-06-17T04:29:28.590Z
- Weaknesses: CWE-120, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: freebsd

## Description

A user-provided integer option was passed to nmreq_copyin() without checking if it would overflow.  This insufficient bounds checking could lead to kernel memory corruption.

On systems configured to include netmap in their devfs_ruleset, a privileged process running in a jail can affect the host environment.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 13.1-RC1 before p1; from 13.0-RELEASE before p11; from 12.3-RELEASE before p5; from 13.0 before 13.0_p11; from 12.3 before 12.3_p5; from 13.1 before 13.1-rc-p; from 12.0 before 12.3; 12.3; 13.0

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-22:04.netmap.asc> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20240322-0004/> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2022-23085 · Whole record: https://cve.day/CVE-2022-23085.json · Rebuilt by cve.day 2026-11-25T22:58:19.739Z
