Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEstablish BGP session with target router
-
DeliverySend UPDATE with malformed Tunnel Encap attribute (type 23)
-
ExploitUnbalance interned sub-TLV reference count
-
ExecutionTrigger route replace/withdraw or session teardown
-
Persistbgpd reads and double-frees heap memory
-
Impactbgpd aborts, dropping all BGP sessions
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an established BGP session with the target and a neighbor whose UPDATEs reach attribute-23 processing - bgpd processes the Tunnel Encapsulation attribute (type 23) from every neighbor, including eBGP peers, unless it is explicitly discarded (RFC 9012 expects it filtered on eBGP by default, which FRR does not do here). The specific trigger is a Tunnel Encap attribute whose outer TLV length does not match the attribute length, and the crash is realized when stored routes are later replaced, withdrawn or cleared (e.g. session down). Limiting factors: the attacker must be a configured/established BGP peer (PR:L, not anonymous), the condition was reproduced with 'soft-reconfiguration inbound' configured for the neighbor, and the crash is non-deterministic - the reporter observed it does not occur on every attempt, indicating a timing/refcount-state dependency rather than a reliable single-shot trigger. |
| Impact | Signals point to a real but bounded priority rather than an emergency. The input CVSS 4.0 score is 7.7 (High) with AV:N but PR:L, AC:H and AT:P - meaning the attacker must already be an established, configured BGP neighbor and the trigger is non-deterministic (the reporter observed the crash does not occur on every attempt). This is not anonymous internet-wide exploitation: attribute 23 is processed from every neighbor including eBGP unless explicitly discarded, so a compromised or malicious peer is the realistic threat model. There is no EPSS score and no KEV listing in the input, and no exploit is marked as confirmed public code; the reporter is NetDEF (FRR's own maintainers) and reproduction is described in issue #20874, so there is no public exploit identified at time of analysis, only a maintainer bug report. The vuln.today Decision label is this_week, which is consistent with: patch available, credible DoS impact (bgpd aborts and drops all BGP sessions, repeatably), but mitigating complexity and peer-authentication requirements. The confirmed impact is denial of service; the description notes freed heap memory is written to and freed again so memory-corruption consequences beyond a crash cannot be ruled out, but that is not demonstrated - treat it as plausible, not confirmed. Net: patch within the week; this is a genuine routing-availability risk, not a drop-everything internet-facing RCE. |
| Exploit ScenarioDerived | A malicious or compromised BGP peer with an established session sends UPDATE messages carrying a Tunnel Encapsulation attribute (type 23) whose outer TLV length does not match the attribute length, unbalancing the reference count of the interned sub-TLV chain. The chain is freed while Adj-RIB-In entries and RIB paths still reference it, so when those routes are later replaced, withdrawn or cleared (for example when the session goes down), bgpd reads freed memory and double-frees it, aborting bgpd and dropping all BGP sessions on the router; the peer can repeat this on each restart. No weaponized exploit is published, but NetDEF documented reproduction (with 'soft-reconfiguration inbound' configured) in issue #20874, and the attack is non-deterministic. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 14, 2026
Use-after-free in FRRouting's bgpd allows an established BGP peer to crash the daemon by sending UPDATE messages with a Tunnel Encapsulation attribute (type 23) whose outer TLV length does not match the attribute length. bgpd only logs the mismatch and processes the attribute anyway, unbalancing the reference count of its interned sub-TLV chain so the chain is freed while Adj-RIB-In entries and RIB paths still point to it; when those routes are replaced, withdrawn or cleared (for example on session teardown) bgpd reads and frees the memory again and aborts on its memory-accounting assertion, dropping every BGP session on the router, and the peer can repeat the attack after each restart. The attacker must be a configured, established neighbor (CVSS 4.0 scores this PR:L), and the crash is not deterministic - the reporter saw it fail to trigger on some attempts and reproduced it with 'soft-reconfiguration inbound' configured. No CISA KEV entry or public exploit code was identified at time of analysis; vendor fixes are available as upstream commits/PR.
RemediationAI
Vendor fix is available upstream: apply the bgpd change in FRRouting PR 21176 (commits bebf95f02bc0dccc6a1841f0c8cbcba1f617d655 and abef07b500e19baa924d157ab03809b93730e619, see https://github.com/FRRouting/frr/pull/21176/changes/1238ac4a06e5c23595e8bf626856f297d0c302a2), which turns the length mismatch from a logged condition into bgp_attr_malformed(args, BGP_NOTIFY_UPDATE_OPT_ATTR_ERR, args->total) so the offending attribute is rejected; deploy the FRR release on your branch that contains those commits, or cherry-pick them if you build FRR yourself - an exact fixed release number is not stated in the available data, so confirm inclusion before relying on an upgrade. Because bgpd processes attribute 23 from every neighbor including eBGP peers unless it is explicitly discarded (contrary to RFC 9012's expectation that it be filtered on eBGP sessions), an interim mitigation is to explicitly discard/filter the Tunnel Encapsulation attribute (type 23) on eBGP sessions, at the cost of losing SRv6/TE tunnel encapsulation signalling across those sessions. Boundary hardening also applies: keep BGP sessions limited to configured peers with TCP MD5/GTSM and prefix/route-policy filters, which reduces - but does not remove - exposure since any established neighbor can send the malformed attribute. The crash is triggered when stored routes are replaced, withdrawn or cleared, so a session bounce or clear is what realizes the abort; operators should expect repeated bgpd restarts and full BGP session loss on the router if a peer attacks after each restart. Given the assessed CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H) and the non-deterministic trigger, this should be scheduled for remediation in the near term rather than handled as an emergency.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Tunnel Encapsulation attribute (BGP path attribute type 23, defined for SRv6/TE use in RFC 9012) is a container of sub-TLVs that FRRouting parses into an interned chain with reference counting, shared between parsed attributes and the routes that retain them. In bgp_attr_encap() the parser compared the declared sub-TLV length against the remaining attribute length and, on mismatch, merely emitted a zlog_info() message while continuing to process the attribute anyway. Processing a structurally inconsistent attribute leaves the interned chain's reference count out of balance, so the chain can be released while still referenced from Adj-RIB-In entries and RIB paths - the classic CWE-416 use-after-free precondition. On subsequent route replacement, withdrawal or clear (session down being the easiest trigger), bgpd reads the freed object, decrements the reference count embedded in it and frees it a second time; the reporter's build without AddressSanitizer terminated on a memory-accounting assertion inside bgpd, and because the freed heap is both written to and freed again, impacts beyond a crash cannot be excluded. The accepted fix replaces the log-and-continue path with flog_err(EC_BGP_ATTR_LEN, ...) followed by return bgp_attr_malformed(args, BGP_NOTIFY_UPDATE_OPT_ATTR_ERR, args->total), i.e. the mismatched attribute is now treated as malformed and rejected with an UPDATE notification. Notably, bgpd processes attribute 23 from every neighbor including eBGP peers unless it is explicitly discarded, whereas RFC 9012 expects the attribute to be filtered on eBGP sessions by default. The CPE entry (cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:*) is an unbounded wildcard, so no version boundary can be derived from it; affected status must be determined against the commit history of the individual FRR branch in use.
Know when Frrouting 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
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:L/AU:N/R:A
Attacker must be an established BGP peer (PR:L) and the trigger is non-deterministic (AC:H); confirmed impact is bgpd abort/DoS (A:H), while memory corruption beyond the crash is unproven so C:N/I:N.
Primary rating from Vendor (NetDEF).
CVSS VectorVendor: NetDEF
DescriptionCVE.org
In FRRouting, bgpd accepts a Tunnel Encapsulation attribute (type 23) whose outer TLV length does not match the length of the attribute: the mismatch is only logged and the attribute is processed anyway. A BGP neighbor can send UPDATE messages carrying such an attribute that put the reference count of the attribute's interned sub-TLV chain out of balance, so that the chain is freed while routes stored by bgpd (Adj-RIB-In entries and RIB paths) still point to it. When those routes are later replaced, withdrawn or cleared, for example when the session goes down, bgpd reads the freed memory, decrements a reference count inside it and frees it a second time. In the reporter's build without AddressSanitizer this ended in an assertion failure in bgpd's memory accounting, aborting bgpd and dropping all BGP sessions on the router, and the neighbor can repeat it each time bgpd restarts. Because freed heap memory is written to and freed again, consequences beyond a crash cannot be ruled out. An established BGP session is required. bgpd processes attribute 23 from every neighbor, including eBGP neighbors, unless it is explicitly discarded, although RFC 9012 requires it to be filtered on eBGP sessions by default. The issue was reproduced with "soft-reconfiguration inbound" configured for the neighbor, and the reporter observed that the crash does not occur on every attempt.
Executive ViewAI
A high-severity use-after-free vulnerability in FRRouting's BGP daemon (CVE-2026-129456) can be triggered by an established BGP peer, causing the daemon to crash and drop all BGP sessions on the router. This requires the attacker to be a configured neighbor, but once exploited it disrupts routing and network availability, requiring repeated restarts. Leadership should prioritize patching to prevent service outages from malicious or compromised peers.
Apply vendor patch.
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
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
An out-of-bounds read in the BGP daemon of FRRouting FRR before 8.4 may lead to a segmentation fault and denial of servi
An issue was discovered in bgpd in FRRouting (FRR) 8.3. Rated high severity (CVSS 8.1), this vulnerability is remotely e
Buffer overflow vulnerabilities exist in FRRouting through 8.1.0 due to wrong checks on the subtlv length in the functio
A buffer overflow vulnerability exists in FRRouting through 8.1.0 due to a wrong check on the input packet length in the
A buffer overflow vulnerability exists in FRRouting through 8.1.0 due to missing a check on the input packet length in t
Buffer overflow vulnerabilities exist in FRRouting through 8.1.0 due to the use of strdup with a non-zero-terminated bin
Buffer overflow vulnerabilities exist in FRRouting through 8.1.0 due to wrong checks on the input packet length in isisd
A NULL pointer dereference in FRRouting's ospfd segment-routing code (ospf_ext.c) can crash the daemon when a crafted OS
A NULL pointer dereference in FRRouting's ospfd daemon lets a crafted OSPF Extended Link (Segment Routing Adj-SID) TLV d
A NULL pointer dereference in FRRouting's ospfd (v4.0 through v10.4.1) allows an unauthenticated adjacent OSPF speaker t
Denial of service in FRRouting's ospfd affects releases v2.0 through v10.4.1: an attacker who already participates in th
A crafted OSPF Link State Update carrying a malformed opaque/Extended Link TLV crashes the FRRouting ospfd daemon, givin
EUVD-2026-125947
GHSA-m8qq-j9p2-w4x8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB