CVE-2021-29627: Double Free

Published Apr 7, 2021
·
Updated

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 accfcreate callback incorrectly freed a process supplied argument string. Additional operations on the socket can lead to a double free or use after free.

Affected Software

11 affected components
FreeBSD FreeBSD>=12.0<12.2
FreeBSD FreeBSD=12.2
FreeBSD FreeBSD=12.2-p1
FreeBSD FreeBSD=12.2-p2
FreeBSD FreeBSD=13.0-beta1
FreeBSD FreeBSD=13.0-beta2
FreeBSD FreeBSD=13.0-beta3
FreeBSD FreeBSD=13.0-beta4
FreeBSD FreeBSD=13.0-rc1
FreeBSD FreeBSD=13.0-rc2
FreeBSD FreeBSD=13.0-rc3

Event History

Apr 7, 2021
CVE Published
via MITRE·02:45 PM
Data Sourced
via MITRE·02:45 PM
DescriptionWeakness

Frequently Asked Questions

1

What is CVE-2021-29627?

CVE-2021-29627 is a vulnerability in FreeBSD that affects versions before n245050, r369525, p0, and p6.

2

How does the vulnerability in FreeBSD 13.0-STABLE before n245050, 12.2-STABLE before r369525, 13.0-RC4 before p0, and 12.2-RELEASE before p6 occur?

The vulnerability occurs due to listening socket accept filters implementing the accf_create callback incorrectly freeing a process supplied argument string.

3

What is the severity of CVE-2021-29627?

The severity of CVE-2021-29627 is high with a CVSS score of 7.8.

4

Which software versions are affected by CVE-2021-29627?

FreeBSD versions before n245050, r369525, p0, and p6 are affected by CVE-2021-29627.

5

How can I fix the vulnerability in FreeBSD?

To fix the vulnerability, you should update to version n245050 or apply the relevant patches provided by FreeBSD.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203