CVE-2021-29628 in Freebsd
In FreeBSD 13.0-STABLE before n245764-876ffe28796c, 12.2-STABLE before r369857, 13.0-RELEASE before p1, and 12.2-RELEASE before p7, a system call triggering a fault could cause SMAP protections to be disabled for the duration of the system call. This weakness could be combined with other kernel bugs to craft an exploit.
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 | 12.2 13.0 |
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
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In FreeBSD 13.0-STABLE before n245764-876ffe28796c, 12.2-STABLE before r369857, 13.0-RELEASE before p1, and 12.2-RELEASE before p7, a system call triggering a fault could cause SMAP protections to be disabled for the duration of the system call. This weakness could be combined with other kernel bugs to craft an exploit.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-29628 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-078340-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2021-05-28 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
A vulnerability in FreeBSD allows SMAP protections to be disabled during certain system calls, potentially enabling exploitation of other kernel bugs.
An attacker could exploit this vulnerability by triggering a specific system call that causes SMAP protections to be disabled, which could then be combined with other kernel vulnerabilities to gain unauthorized access or escalate privileges.
Questions
What is CVE-2021-29628?
A vulnerability in FreeBSD allows SMAP protections to be disabled during certain system calls, potentially enabling exploitation of other kernel bugs.
What is the CVSS score for CVE-2021-29628?
CVE-2021-29628 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: 1.2%.
Is CVE-2021-29628 actively exploited?
No confirmed active exploitation of CVE-2021-29628 as of 2026-09-25.
How do I remediate CVE-2021-29628?
Priority: HIGH. Advisory: https://security.FreeBSD.org/advisories/FreeBSD-SA-21:11.smap.asc PSIRT: [email protected]
What systems are affected by CVE-2021-29628?
CVE-2021-29628 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.