VulnarioBlogFreeBSD vulnerabilities

FreeBSD Vulnerabilities: The 10 Most Critical FreeBSD Security Bugs (CVEs)

FreeBSD vulnerabilities are security flaws in FreeBSD that attackers can abuse to steal data, take over a server or interrupt a service. FreeBSD is an open-source Unix-like operating system used for servers and appliances. The National Vulnerability Database (NVD) lists 577 CVEs for FreeBSD, 35 of them rated critical, and 76 were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.

This guide lists the 10 most critical FreeBSD security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers FreeBSD security basics, the current end-of-life dates and a free way to be told about the next FreeBSD CVE as soon as it is published.

Key takeaways

  • No FreeBSD CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
  • 35 FreeBSD CVEs are rated critical (CVSS v3), and 76 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2026-101306, published Oct 15, 2026.
  • Supported FreeBSD releases today (per endoflife.date): 14.5, 15.1, 14.4, 15. Releases not on the list are past their announced end of life.
  • You can monitor FreeBSD for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these FreeBSD CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical FreeBSD CVEs at a glance

Most critical FreeBSD vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2024-4310210.0 Critical2024-09-05Use after freeNo
2CVE-2018-1716010.0 Critical2018-12-04Out-of-bounds writeNo
3CVE-2026-1013069.8 Critical2026-10-15Critical security flawNo
4CVE-2026-580819.8 Critical2026-08-19Heap buffer overflowNo
5CVE-2026-580829.8 Critical2026-08-19Stack buffer overflowNo
6CVE-2024-299379.8 Critical2024-04-11Code injectionNo
7CVE-2022-230889.8 Critical2024-02-15Code injectionNo
8CVE-2023-59419.8 Critical2023-11-08Out-of-bounds writeNo
9CVE-2023-33269.8 Critical2023-06-22Improper authenticationNo
10CVE-2020-255779.8 Critical2021-03-29Buffer overflowNo

Each FreeBSD CVE explained

1. CVE-2024-43102: Use after free

  • CVSS 10.0 Critical
  • Published 2024-09-05
  • CWE-416
What NVD says
Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of UMTX_OP_SHM can lead to decreasing the reference count of the object representing the mapping too many times, causing it to be freed too early.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
13.0 to before 13.3; 13.3; 13.4; 14.0
What to do
Upgrade to 13.3 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2024-43102 (opens in a new tab)

2. CVE-2018-17160: Out-of-bounds write

  • CVSS 10.0 Critical
  • Published 2018-12-04
  • CWE-787
What NVD says
In FreeBSD before 11.2-STABLE(r341486) and 11.2-RELEASE-p6, insufficient bounds checking in one of the device models provided by bhyve can permit a guest operating system to overwrite memory in the bhyve host possibly permitting arbitrary code execution. A guest OS using a firmware image can cause the bhyve process to crash, or possibly execute arbitrary code on the host as root.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 11.2; 11.2
What to do
Upgrade to 11.2 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2018-17160 (opens in a new tab)

3. CVE-2026-101306: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2026-10-15
  • CWE-273
What NVD says
SCM_RIGHTS file descriptor passing did not preserve FD_RESOLVE_BENEATH when a descriptor was transferred. A process could clear the restriction by sending the descriptor to itself over a Unix domain socket. A process in a jail that has received a directory file descriptor from another jail can use these techniques to escape the jail's filesystem root restriction.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
14.4; 14.5; 15.0; 15.1
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2026-101306 (opens in a new tab)

4. CVE-2026-58081: Heap buffer overflow

  • CVSS 9.8 Critical
  • Published 2026-08-19
  • CWE-122
What NVD says
Several encoding modules, including HZ, UTF-7, VIQR, and ZW, did not properly check the size of the caller-supplied output buffer before writing converted characters. An application that uses iconv(3) to convert untrusted input to or from one of the affected encodings may be vulnerable to buffer overflows if it uses one of the affected encoding modules.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
14.3; 14.4; 15.0; 15.1
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2026-58081 (opens in a new tab)

5. CVE-2026-58082: Stack buffer overflow

  • CVSS 9.8 Critical
  • Published 2026-08-19
  • CWE-121
What NVD says
The ISO-2022 encoding module used a stack buffer sized to MB_LEN_MAX (6 bytes) for intermediate character output. Some ISO-2022 variants can require up to 10 bytes per character, in which case conversions can trigger a stack buffer overflow of up to four bytes.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
14.3; 14.4; 15.0; 15.1
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2026-58082 (opens in a new tab)

6. CVE-2024-29937: Code injection

  • CVSS 9.8 Critical
  • Published 2024-04-11
  • CWE-94
What NVD says
NFS in a BSD derived codebase, as used in OpenBSD through 7.4 and FreeBSD through 14.0-RELEASE, allows remote attackers to execute arbitrary code via a bug that is unrelated to memory corruption.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
14.0
What to do
Apply the vendor's security update for your release and restart the service.

NVD record for CVE-2024-29937 (opens in a new tab)

7. CVE-2022-23088: Code injection

  • CVSS 9.8 Critical
  • Published 2024-02-15
  • CWE-94
What NVD says
The 802.11 beacon handling routine failed to validate the length of an IEEE 802.11s Mesh ID before copying it to a heap-allocated buffer. While a FreeBSD Wi-Fi client is in scanning mode (i.e., not associated with a SSID) a malicious beacon frame may overwrite kernel memory, leading to remote code execution.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 12.3; 12.4 to before 13.0; 12.3; 13.0
What to do
Upgrade to the fixed release for your branch (12.3, 13.0) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2022-23088 (opens in a new tab)

8. CVE-2023-5941: Out-of-bounds write

  • CVSS 9.8 Critical
  • Published 2023-11-08
  • CWE-131
What NVD says
In versions of FreeBSD 12.4-RELEASE prior to 12.4-RELEASE-p7 and FreeBSD 13.2-RELEASE prior to 13.2-RELEASE-p5 the __sflush() stdio function in libc does not correctly update FILE objects' write space members for write-buffered streams when the write(2) system call returns an error.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 12.4; 13.0 to before 13.2; 12.4; 13.2
What to do
Upgrade to the fixed release for your branch (12.4, 13.2) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2023-5941 (opens in a new tab)

9. CVE-2023-3326: Improper authentication

  • CVSS 9.8 Critical
  • Published 2023-06-22
  • CWE-303
What NVD says
pam_krb5 authenticates a user by essentially running kinit with the password, getting a ticket-granting ticket (tgt) from the Kerberos KDC (Key Distribution Center) over the network, as a way to verify the password. However, if a keytab is not provisioned on the system, pam_krb5 has no way to validate the response from the KDC, and essentially trusts the tgt provided over the network as being valid.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 12.4; 13.0 to before 13.1; 12.4; 13.1
What to do
Upgrade to the fixed release for your branch (12.4, 13.1) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2023-3326 (opens in a new tab)

10. CVE-2020-25577: Buffer overflow

  • CVSS 9.8 Critical
  • Published 2021-03-29
  • CWE-120
What NVD says
In FreeBSD 12.2-STABLE before r368250, 11.4-STABLE before r368253, 12.2-RELEASE before p1, 12.1-RELEASE before p11 and 11.4-RELEASE before p5 rtsold(8) does not verify that the RDNSS option does not extend past the end of the received packet before processing its contents. While the kernel currently ignores such malformed packets, it passes them to userspace programs.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
11.4; 12.1; 12.2
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2020-25577 (opens in a new tab)

FreeBSD end of life: which versions still get security fixes

Running a release that still receives security fixes is the most effective way to avoid FreeBSD vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported FreeBSD releases are 14.5, 15.1, 14.4, 15.

FreeBSD release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
FreeBSD 14.5Sep 8, 2026Jun 30, 2027—Supported
FreeBSD 15.1Jun 16, 2026Mar 31, 2027—Supported
FreeBSD 14.4Mar 10, 2026Dec 31, 2026—Supported
FreeBSD 15.0Dec 2, 2025Sep 30, 2026—End of life
FreeBSD 15Dec 2, 2025Dec 31, 2029—Supported
FreeBSD 14.3Jun 10, 2025Jun 30, 2026—End of life
FreeBSD 13.5Mar 11, 2025Apr 30, 2026—End of life
FreeBSD 14.2Dec 3, 2024Sep 30, 2025—End of life

Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.

FreeBSD security checklist

  1. Install security updates on a schedule, and automatically where you can.
  2. Run a release that still receives security support and plan the next upgrade early.
  3. Use SSH keys instead of passwords and limit who can log in as root.
  4. Enable a host firewall and close every port you do not need.
  5. Remove packages and services you do not use.
  6. Keep tested backups and a way to roll back a bad update.

Where you run FreeBSD matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating FreeBSD: on most plans the operating system and applications are yours to patch unless the plan says otherwise.

Your stack is bigger than FreeBSD. A flaw anywhere in the chain can be the way in, so also review our guides to OpenSSH vulnerabilities, OpenSSL vulnerabilities and Nginx vulnerabilities.

How to get alerted about new FreeBSD vulnerabilities

NVD received 76 new FreeBSD CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose FreeBSD and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run FreeBSD alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about FreeBSD vulnerabilities

What are the most critical FreeBSD vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical FreeBSD CVEs include CVE-2024-43102 (CVSS 10.0), CVE-2018-17160 (CVSS 10.0), CVE-2026-101306 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.

Have FreeBSD vulnerabilities been exploited in real attacks?

For the FreeBSD product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep FreeBSD patched.

How many vulnerabilities does FreeBSD have?

As of Nov 3, 2026 the National Vulnerability Database lists 577 CVEs for FreeBSD, with 35 rated critical by CVSS v3. 76 were published in the previous twelve months.

Which FreeBSD versions are still supported?

As of Nov 3, 2026, endoflife.date lists these FreeBSD releases as supported: 14.5, 15.1, 14.4, 15. Releases that are not listed are past their announced end of life.

How can I get alerted when a new FreeBSD CVE is published?

Add FreeBSD to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose FreeBSD and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is FreeBSD secure?

FreeBSD is as secure as its patch level. NVD published 76 new FreeBSD CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2024-43102?

CVE-2024-43102 is a critical FreeBSD vulnerability with a CVSS score of 10.0, published Sep 5, 2024. Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of UMTX_OP_SHM can lead to decreasing the reference count of the object representing the mapping too many times, causing it to be freed too early.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.