Skip to main content

FreeBSD fusefs EUVDEUVD-2026-31254

| CVE-2026-45252 MEDIUM
Heap-based Buffer Overflow (CWE-122)
2026-05-21 freebsd GHSA-fqrg-fvv5-42g2
5.5
CVSS 3.1 · Vendor: freebsd
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local user access
  2. Delivery
    Mount FUSE filesystem with xattr support via controlled daemon
  3. Exploit
    Trigger FUSE_LISTXATTR request from kernel
  4. Install
    Return non-NUL-terminated response buffer
  5. C2
    Kernel strlen() overruns heap buffer
  6. Execute
    Leak kernel heap memory or write 250 bytes to unallocated heap
  7. Impact
    Escalate privileges or extract sensitive data

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the attacker controls or has compromised a FUSE userspace daemon process running on the target system - most commonly achieved on systems where vfs.usermount=1 permits non-root users to mount FUSE filesystems. The vulnerable FUSE_LISTXATTR code path is only triggered when a mounted FUSE filesystem has extended attribute support and an xattr-listing operation is performed on one of its files. Limiting factors include: the CVSS PR:H (High Privileges Required) rating, consistent with needing to operate a FUSE daemon; the requirement that fusefs is loaded and a FUSE filesystem is actively mounted; and that systems with vfs.usermount=0 (the more restrictive default on many hardened deployments) are not reachable by unprivileged attackers. Notably, the CVSS AV:N (Network) vector is inconsistent with the local daemon attack surface described - teams should verify with the FreeBSD advisory whether a network-accessible FUSE daemon scenario constitutes the intended threat model before treating this as a remotely exploitable issue.

Impact

The CVSS 5.5 score is derived from AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H, where the High privilege requirement (PR:H) is the primary score-depressing factor. EPSS of 0.02% (5th percentile) confirms negligible observed exploitation probability in the wild, and this CVE is not listed in CISA KEV. No public proof-of-concept has been identified. However, two signals suggest the score may understate certain risks: first, the I:N (no integrity impact) rating appears conservative - writing 250 attacker-controlled bytes into unallocated kernel heap space is a meaningful heap spray primitive that could facilitate local privilege escalation in a chained attack. Second, the AV:N (Network) attack vector directly conflicts with the vulnerability description, which describes a local malicious daemon process as the attacker; the realistic attack surface appears local rather than remotely network-reachable. Security teams on multi-tenant FreeBSD systems where vfs.usermount is enabled should treat this as a moderate local privilege escalation risk despite the suppressed CVSS. For systems where user-mountable FUSE is disabled, practical risk is very low.

Exploit ScenarioDerived

A local user on a FreeBSD system where vfs.usermount=1 mounts a custom FUSE filesystem backed by a daemon they control, then triggers an extended attribute listing operation (e.g., via getfattr or ls -l on a file with xattrs) causing the kernel to send FUSE_LISTXATTR to the daemon. The daemon returns a response buffer lacking the required NUL terminator; the fusefs kernel module's strlen() call overruns the heap buffer, either leaking adjacent kernel memory contents (potentially exposing kernel pointers or sensitive in-memory data) or placing attacker-controlled bytes into unallocated heap space as a precursor to a heap-shaping privilege escalation. No public proof-of-concept has been identified at the time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 21, 2026

FreeBSD's fusefs kernel module mishandles extended attribute list responses from FUSE userspace daemons by calling strlen() on daemon-supplied buffers without first verifying NUL-termination, enabling a malicious daemon operator to read up to 253 bytes of kernel heap memory or inject up to 250 attacker-controlled bytes into unallocated kernel heap space. Affected releases are FreeBSD 14.3-RELEASE prior to p14, 14.4-RELEASE prior to p5, and 15.0-RELEASE prior to p9 per FreeBSD-SA-26:20.fusefs and EUVD-2026-31254. No public exploit code exists and EPSS sits at 0.02% (5th percentile), though the heap write primitive carries local privilege escalation potential beyond what the CVSS integrity score reflects.

RemediationAI

Apply vendor-released patches by upgrading to FreeBSD 14.4-RELEASE-p5, FreeBSD 14.3-RELEASE-p14, or FreeBSD 15.0-RELEASE-p9 as appropriate, per the official advisory at https://security.freebsd.org/advisories/FreeBSD-SA-26:20.fusefs.asc. Until patching is feasible, a targeted compensating control is to disable user-mountable FUSE filesystems by setting the sysctl vfs.usermount=0 (and persisting it in /etc/sysctl.conf), which ensures only root-operated FUSE daemons - which imply full system trust - can trigger the vulnerable code path; the trade-off is that non-root users lose the ability to mount any filesystem type, including legitimate FUSE tools such as sshfs or gocryptfs. Alternatively, unloading or blacklisting the fusefs kernel module entirely eliminates exposure with the trade-off of disabling all FUSE functionality system-wide. No partial workaround that preserves untrusted-user FUSE access while mitigating the strlen over-read is documented in available references.

Affected VersionsENISA

FreeBSD 14.4-RELEASE <p5
FreeBSD 14.3-RELEASE <p14
FreeBSD 15.0-RELEASE <p9

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerable component is FreeBSD's fusefs kernel module, which implements the in-kernel side of the FUSE (Filesystem in Userspace) protocol, bridging userspace daemon processes and the kernel VFS layer. The CWE-122 (Heap-based Buffer Overflow) root cause is a missing input validation step: when the kernel issues a FUSE_LISTXATTR request and receives the daemon's packed list of NUL-terminated attribute name strings, it passes that response buffer directly to strlen() without confirming the entire payload is properly NUL-terminated. A daemon response that omits the final NUL causes strlen() to read past the end of the heap-allocated receive buffer (over-read of up to 253 bytes), and the resulting miscalculated length can additionally cause a write of up to 250 attacker-controlled bytes into an adjacent unallocated heap region. The CPE cpe:2.3:a:freebsd:freebsd:*:*:*:*:*:*:*:* covers the FreeBSD base system; only deployments with fusefs loaded and FUSE filesystems mounted are exposed to this code path.

Know when Freebsd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (freebsd) PRIMARY 5.5 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H

Primary rating from Vendor (freebsd) · only source for this CVE.

CVSS VectorVendor: freebsd

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High

Lifecycle Timeline

3
Severity Changed
May 21, 2026 - 15:22 NVD
HIGH MEDIUM
CVSS changed
May 21, 2026 - 15:22 NVD
7.5 (HIGH) 5.5 (MEDIUM)
CVE Published
May 21, 2026 - 09:08 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

When a fusefs file system implements extended attributes, the kernel may send a FUSE_LISTXATTR message to the userspace daemon to retrieve the list of extended attributes for a given file. The FUSE protocol requires the daemon to return a packed list of NUL-terminated strings. The fusefs kernel module calls strlen() on this daemon-supplied buffer without first verifying that the entire list is NUL-terminated.

If a malicious daemon sends a non-NUL-terminated list, the fusefs kernel module may read beyond the end of one heap-allocated buffer and potentially write beyond the end of a second buffer. A malicious daemon could disclose up to 253 bytes of kernel heap memory, or it could inject up to 250 attacker-controlled bytes into unallocated kernel heap space.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

CVE-2012-0217 HIGH POC
7.2 Jun 12

The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and

CVE-2025-14558 HIGH POC
7.2 Mar 09

The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess

CVE-2020-1967 HIGH POC
7.5 Apr 21

Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due

CVE-2013-4854 HIGH POC
7.8 Jul 29

The RFC 5011 implementation in rdata.c in ISC BIND 9.7.x and 9.8.x before 9.8.5-P2, 9.8.6b1, 9.9.x before 9.9.3-P2, and

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2019-6111 MEDIUM POC
5.9 Jan 31

An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2013-2171 MEDIUM POC
6.9 Jul 02

The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEAS

CVE-2021-3449 MEDIUM
5.9 Mar 25

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med

CVE-2016-5766 HIGH POC
8.8 Aug 07

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used

CVE-2016-1879 HIGH POC
7.5 Jan 29

The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w

CVE-2020-7457 HIGH POC
8.1 Jul 09

In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy