Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify FreeBSD service using libnv
-
DeliveryCraft oversized message header
-
ExploitSend to network-exposed service
-
InstallTrigger heap buffer overflow
-
C2Overwrite heap metadata/function pointers
-
ExecuteExecute arbitrary code
-
ImpactEscalate to root privileges
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 | High attack complexity (AC:H) indicates specific prerequisites beyond basic network access. Exploitation requires the target FreeBSD system to run a network-accessible service or daemon that invokes libnv for processing externally-supplied messages-not all FreeBSD installations expose this attack surface by default. The attacker must have detailed knowledge of heap memory layout and libnv's internal message processing logic to reliably control the buffer overflow for code execution rather than just causing a crash. Successful privilege escalation depends on the vulnerable service running with elevated privileges and the attacker's ability to manipulate heap structures with sufficient precision to bypass modern exploit mitigations (ASLR, stack canaries). While no authentication is required (PR:N) for network-reachable attack surfaces, the complexity suggests exploitation is not trivial point-and-click but requires reverse engineering and custom exploit development. Local unprivileged users have easier exploitation paths as they can directly invoke libnv-using system functions without network service dependencies. |
| Impact | Real-world risk requires careful assessment due to conflicting signals. CVSS 8.1 (High) reflects severe potential impact: network vector (AV:N), no authentication required (PR:N), and complete compromise possible (C:H/I:H/A:H). However, attack complexity is High (AC:H), suggesting exploitation requires specialized conditions or race conditions. EPSS score of 0.02% (5th percentile) indicates security researchers assess actual exploitation probability as very low, likely due to technical difficulty or limited attack surface. SSVC framework marks this as 'Exploitation: none' (no confirmed exploitation) and 'Technical Impact: partial' (contradicting CVSS severity), with 'Automatable: yes' suggesting reliable exploitation is possible once developed. No CISA KEV listing and no public POC further support low immediate threat. The discrepancy between CVSS severity and EPSS/SSVC assessments suggests this is a high-severity-but-low-probability issue. Priority depends heavily on whether your FreeBSD systems expose libnv message processing to untrusted network sources-verify actual attack surface before prioritizing over actively exploited vulnerabilities. |
| Exploit ScenarioDerived | A remote attacker identifies a FreeBSD system running an unpatched version exposing a network service that uses libnv for inter-process communication or network message parsing. The attacker crafts a malicious message with a manipulated size field in the header that causes libnv to allocate insufficient heap memory while declaring a larger payload size. When libnv processes this crafted message, it writes attacker-controlled data beyond the heap buffer boundaries, corrupting adjacent memory structures. By carefully controlling the overflow content and exploiting heap layout predictability, the attacker overwrites function pointers or other critical data structures to redirect execution flow, ultimately gaining code execution with the privileges of the vulnerable process and potentially escalating to root access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – May 01, 2026
Heap buffer overflow in FreeBSD's libnv library allows remote unauthenticated attackers to achieve privilege escalation or denial of service through maliciously crafted message headers. The vulnerability affects FreeBSD versions 13.5, 14.3, 14.4, and 15.0, with patches released in security advisory FreeBSD-SA-26:17.libnv. Despite network attack vector and privilege escalation potential (CVSS 8.1), EPSS scoring indicates only 0.02% exploitation probability (5th percentile), and no active exploitation or public exploit code has been identified. SSVC classifies technical impact as partial with no confirmed exploitation.
Earlier versions of this analysis (1)
Heap buffer overflow in FreeBSD's libnv library allows remote unauthenticated attackers to crash systems or escalate privileges through maliciously crafted message headers. The vulnerability affects FreeBSD 13.5, 14.3, 14.4, and 15.0 branches and stems from insufficient message size validation during header processing. Despite critical CVSS 9.1 scoring, EPSS probability remains exceptionally low (0.02%, 5th percentile), and no active exploitation has been confirmed by CISA KEV, suggesting limited real-world targeting thus far. FreeBSD has released security patches across all affected release branches.
RemediationAI
Apply FreeBSD security patches immediately through freebsd-update or rebuild from patched sources. Upgrade to FreeBSD 13.5-RELEASE-p13, 14.3-RELEASE-p12, 14.4-RELEASE-p3, or 15.0-RELEASE-p7 or later as documented in FreeBSD-SA-26:17.libnv (https://security.freebsd.org/advisories/FreeBSD-SA-26:17.libnv.asc). For systems where immediate patching is infeasible, implement network-level compensating controls by identifying and restricting exposure of services that process untrusted libnv messages-use firewall rules to limit network access to only trusted sources for affected services. Note that identifying which services use libnv may require code review or process monitoring (lsof, dtrace), as many FreeBSD system services potentially invoke this library. Restricting network access will prevent remote exploitation but does not mitigate local privilege escalation risk from malicious authenticated users. Test patches in non-production environments first, as system library updates may require service restarts or system reboot for full effectiveness.
Affected VersionsENISA
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 vulnerability resides in libnv (name-value pairs library), a FreeBSD system library used for serializing and deserializing structured data in messages between processes and across network boundaries. The flaw is a heap-based buffer overflow (CWE-122) occurring during message header parsing. When libnv processes incoming messages, it fails to validate the declared message size against the actual heap buffer allocation before copying data. This classic bounds-checking failure allows writing beyond allocated memory regions. The affected CPE (cpe:2.3:a:freebsd:freebsd) indicates this is a core OS component affecting multiple major FreeBSD releases. Heap overflows in system libraries are particularly dangerous because they execute with the privileges of the calling process and can be triggered from both local and remote contexts depending on how the library is invoked.
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
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (freebsd) · only source for this CVE.
CVSS VectorVendor: freebsd
Lifecycle Timeline
5DescriptionCVE.org
When processing the header of an incoming message, libnv failed to properly validate the message size.
The lack of validation allows a malicious program to write outside the bounds of a heap allocation. This can trigger a crash or system panic, and it may be possible for an unprivileged user to exploit the bug to elevate their privileges.
Executive ViewAI
FreeBSD systems running versions 13.5, 14.3, 14.4, or 15.0 face a high-severity heap buffer overflow in the libnv library that enables remote unauthenticated attackers to trigger privilege escalation or service denial through crafted network messages. While the vulnerability carries a CVSS score of 8.1, current exploitation probability remains minimal (0.02%), making this a moderate-priority remediation window for FreeBSD-dependent infrastructure.
Vendor-released patch: FreeBSD-SA-26:17.libnv. Until patches are available and deployed, implement network segmentation to restrict unauthenticated inbound connections to affected FreeBSD systems, and monitor for anomalous process behavior or unexpected privilege escalation events via system auditing.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
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
The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess
Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due
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
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
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
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med
Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used
The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w
In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1
EUVD-2026-26355
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB