CVE-2023-5978 in Freebsd
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 appl...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Freebsd | Freebsd | 13.2 ≥ 13.0, < 13.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-5978 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-054567-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2023-11-08 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-269: Improper Privilege Management
Software does not properly assign, modify, track, or check privileges, allowing unauthorized elevation of access.
Related attack patterns (CAPEC)
CAPEC-58 Restful Privilege Elevation via CWE-269
CAPEC-122 Privilege Abuse via CWE-269
CAPEC-233 Privilege Escalation via CWE-269
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2023-5978 affects FreeBSD 13-RELEASE versions prior to 13-RELEASE-p5, where the cap_net libcasper(3) service incorrectly validates updated constraints, potentially allowing an application to submit a broader list of resolvable domain names than intended.
An attacker could exploit this vulnerability by submitting a new list of domain names to the cap_net service, which may not be a strict subset of the previously set constraints. This could lead to unauthorized network access or other security issues.
Questions
What is CVE-2023-5978?
CVE-2023-5978 affects FreeBSD 13-RELEASE versions prior to 13-RELEASE-p5, where the cap_net libcasper(3) service incorrectly validates updated constraints, potentially allowing an application to submit a broader list of resolvable domain names than intended.
What is the CVSS score for CVE-2023-5978?
CVE-2023-5978 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.6%.
Is CVE-2023-5978 actively exploited?
No confirmed active exploitation of CVE-2023-5978 as of 2026-09-25.
How do I remediate CVE-2023-5978?
Priority: HIGH. Advisory: https://security.freebsd.org/advisories/FreeBSD-SA-23:16.cap_net.asc
What systems are affected by CVE-2023-5978?
CVE-2023-5978 affects Freebsd Freebsd.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Freebsd","product":"Freebsd","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.