CVE-2021-29630 in Freebsd
In FreeBSD 13.0-STABLE before n246938-0729ba2f49c9, 12.2-STABLE before r370383, 11.4-STABLE before r370381, 13.0-RELEASE before p4, 12.2-RELEASE before p10, and 11.4-RELEASE before p13, the ggatec daemon does not validate the size of a response before writing it to a fixed-sized buffer allowing a malicious attacker ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Freebsd | Freebsd | 11.4 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 n246938-0729ba2f49c9, 12.2-STABLE before r370383, 11.4-STABLE before r370381, 13.0-RELEASE before p4, 12.2-RELEASE before p10, and 11.4-RELEASE before p13, the ggatec daemon does not validate the size of a response before writing it to a fixed-sized buffer allowing a malicious attacker in a privileged network position to overwrite the stack of ggatec and potentially execute arbitrary code.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-29630 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-075213-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-08-30 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
A vulnerability in the ggatec daemon in FreeBSD versions prior to specific patches allows a malicious attacker in a privileged network position to overwrite the stack, potentially leading to arbitrary code execution.
The vulnerability arises from the ggatec daemon not validating the size of a response before writing it to a fixed-sized buffer. An attacker can exploit this by sending a specially crafted response that exceeds the buffer size, leading to a buffer overflow and stack corruption.
Questions
What is CVE-2021-29630?
A vulnerability in the ggatec daemon in FreeBSD versions prior to specific patches allows a malicious attacker in a privileged network position to overwrite the stack, potentially leading to arbitrary code execution.
What is the CVSS score for CVE-2021-29630?
CVE-2021-29630 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.6%.
Is CVE-2021-29630 actively exploited?
No confirmed active exploitation of CVE-2021-29630 as of 2026-09-25.
How do I remediate CVE-2021-29630?
Priority: IMMEDIATE. Advisory: https://security.FreeBSD.org/advisories/FreeBSD-SA-21:14.ggatec.asc PSIRT: [email protected]
What systems are affected by CVE-2021-29630?
CVE-2021-29630 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.