# CVE-2023-5978: Incorrect libcap_net limitation list manipulation

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2023-11-08T08:52:46.920Z
- Modified: 2026-06-17T06:49:47.083Z
- Weaknesses: CWE-269
- Assigned by: freebsd

## Description

In versions of FreeBSD 13-RELEASE before 13-RELEASE-p5, under certain circumstances the cap_net libcasper(3) service incorrectly validates that updated constraints are strictly subsets of the active constraints.  When only a list of resolvable domain names was specified without setting any other limitations, an application could submit a new list of domains including include entries not previously listed.  This could permit the application to resolve domain names that were previously restricted.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 13.2-RELEASE before p5; from 13.0 before 13.2; 13.2

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-23:16.cap_net.asc> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20231214-0003/>

## Sources

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

---

Page: https://cve.day/CVE-2023-5978 · Whole record: https://cve.day/CVE-2023-5978.json · Rebuilt by cve.day 2026-11-25T22:58:30.208Z
