CyberSecBulletin
CVE-2026-4747NVD status: Analyzed

FreeBSD: Stack-based Buffer Overflow

CVE-2026-4747 is a high-severity stack-based buffer overflow vulnerability in FreeBSD, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. The record lists versions p5, p1, p10 as the first without the flaw, so updating FreeBSD to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 3.51% chance of exploitation within 30 days, higher than 89% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update FreeBSD to p5 or p1 or p10 or p11, whichever matches your release line, or a later version.
  2. Read the advisory on security.freebsd.org for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
FreeBSDFreeBSD15.0-RELEASE up to, but not including, p5; 14.4-RELEASE up to, but not including, p1; 14.3-RELEASE up to, but not including, p10; 13.5-RELEASE up to, but not including, p11p5, p1, p10, p11

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by CISA (ADP).

Official description

Each RPCSEC_GSS data packet is validated by a routine which checks a signature in the packet. This routine copies a portion of the packet into a stack buffer, but fails to ensure that the buffer is sufficiently large, and a malicious client can trigger a stack overflow. Notably, this does not require the client to authenticate itself first. As kgssapi.ko's RPCSEC_GSS implementation is vulnerable, remote code execution in the kernel is possible by an authenticated user that is able to send packets to the kernel's NFS server while kgssapi.ko is loaded into the kernel. In userspace, applications which have librpcgss_sec loaded and run an RPC server are vulnerable to remote code execution from any client able to send it packets. We are not aware of any such applications in the FreeBSD base system.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Stack-based Buffer Overflow

The product writes past the end of a buffer that was allocated on the stack.

How developers prevent this class of flaw

  • Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking. D3-SFCV (Stack Frame Canary Validation) from D3FEND discusses canary-based detection in detail.
  • Use an abstraction library to abstract away risky APIs. Not a complete solution.
  • Implement and perform bounds checking on input.

More Stack-based Buffer Overflow vulnerabilities (CWE-121)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: poc, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in FreeBSD

All FreeBSD vulnerabilities

Recent Stack-based Buffer Overflow vulnerabilities

Spotted an error? Tell us.