Privilege escalation in FreeBSD

Published: 2021-04-07
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2021-29627
Exploitation vector Local
Public exploit N/A
Vulnerable software
Operating systems & Components / Operating system


Security Advisory

This security advisory describes one low risk vulnerability.

1) Double Free

Risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C] [PCI]

CVE-ID: CVE-2021-29627

CWE-ID: CWE-415 - Double Free

Exploit availability: No


The vulnerability allows a local user to gain elevated privileges on the system.

The vulnerability exists due to a boundary error in accept_filter(9) socket configuration interface. A local user can pass specially crafted data to the application, trigger double free error and escalate privileges on the system.


Install updates from vendor's website.

Vulnerable software versions

FreeBSD: before 12.2, 12.2-RELEASE-p6, 13.0, 13.0 RC4

CPE External links

Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.