Skip to main content

FRRouting bgpd EUVDEUVD-2026-125947

| CVE-2026-129456 HIGH
Use After Free (CWE-416)
2026-11-14 NetDEF GHSA-m8qq-j9p2-w4x8
7.7
CVSS 4.0 · Vendor: NetDEF
View

Attack ChainAIDerived

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

  1. Access
    Establish BGP session with target router
  2. Delivery
    Send UPDATE with malformed Tunnel Encap attribute (type 23)
  3. Exploit
    Unbalance interned sub-TLV reference count
  4. Execution
    Trigger route replace/withdraw or session teardown
  5. Persist
    bgpd reads and double-frees heap memory
  6. Impact
    bgpd 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

FRRouting f4c89855b594d4b32bb3610537703215c978440e <*
FRRouting 10.5.0 <10.5.4
FRRouting 10.4.0 <10.4.4

Affected Packages

euvd frrouting fix: 10.4.4, 10.5.4

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

Vendor (NetDEF) PRIMARY 7.7 HIGH
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
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (NetDEF).

CVSS VectorVendor: NetDEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
Low

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
High
FRRouting is a widely deployed open-source routing stack in data-center and Linux network infrastructure
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

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.

CVE-2022-37032 CRITICAL POC
9.1 Sep 19

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

CVE-2022-37035 HIGH POC
8.1 Aug 02

An issue was discovered in bgpd in FRRouting (FRR) 8.3. Rated high severity (CVSS 8.1), this vulnerability is remotely e

CVE-2022-26129 HIGH POC
7.8 Mar 03

Buffer overflow vulnerabilities exist in FRRouting through 8.1.0 due to wrong checks on the subtlv length in the functio

CVE-2022-26128 HIGH POC
7.8 Mar 03

A buffer overflow vulnerability exists in FRRouting through 8.1.0 due to a wrong check on the input packet length in the

CVE-2022-26127 HIGH POC
7.8 Mar 03

A buffer overflow vulnerability exists in FRRouting through 8.1.0 due to missing a check on the input packet length in t

CVE-2022-26126 HIGH POC
7.8 Mar 03

Buffer overflow vulnerabilities exist in FRRouting through 8.1.0 due to the use of strdup with a non-zero-terminated bin

CVE-2022-26125 HIGH POC
7.8 Mar 03

Buffer overflow vulnerabilities exist in FRRouting through 8.1.0 due to wrong checks on the input packet length in isisd

CVE-2025-61105 HIGH POC
7.5 Oct 27

A NULL pointer dereference in FRRouting's ospfd segment-routing code (ospf_ext.c) can crash the daemon when a crafted OS

CVE-2025-61102 HIGH POC
7.5 Oct 27

A NULL pointer dereference in FRRouting's ospfd daemon lets a crafted OSPF Extended Link (Segment Routing Adj-SID) TLV d

CVE-2025-61101 HIGH POC
7.5 Oct 27

A NULL pointer dereference in FRRouting's ospfd (v4.0 through v10.4.1) allows an unauthenticated adjacent OSPF speaker t

CVE-2025-61100 HIGH POC
7.5 Oct 27

Denial of service in FRRouting's ospfd affects releases v2.0 through v10.4.1: an attacker who already participates in th

CVE-2025-61099 HIGH POC
7.5 Oct 27

A crafted OSPF Link State Update carrying a malformed opaque/Extended Link TLV crashes the FRRouting ospfd daemon, givin

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