Skip to main content

FRRouting bgpd CVE-2026-120221

| EUVDEUVD-2026-125277 HIGH
Double Free (CWE-415)
2026-11-13 NetDEF GHSA-j25q-23f5-6558
8.2
CVSS 4.0 · Vendor: NetDEF
View

Attack ChainAIDerived

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

  1. Access
    Reach a host inside the BGP listen range
  2. Exploit
    Open and close two TCP connections to port 179
  3. Execution
    Second disconnect double-frees shared SoO
  4. Impact
    bgpd aborts and drops all BGP sessions

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
Exploitation Conditions

Exploitable ONLY when a router runs a 'bgp listen range' (dynamic BGP neighbors) whose peer-group ALSO has a Site-of-Origin configured via 'neighbor PG soo' - configurations lacking this combination are not affected. The attacker must be a host whose address falls inside the configured listen range, must be able to reach TCP port 179, and must open and close two connections (or rely on two legitimate dynamic-neighbor flaps); no BGP message, authentication, or AS-number knowledge is required. A single disconnect can also crash bgpd if, between the two frees, 'show running-config' is run or a dynamic neighbor establishes (reading the freed memory). LIMITING factor: if the peer-group is protected with a TCP-MD5 password, only hosts that know the password can trigger the bug, sharply reducing the exposed attacker set.

Impact

This is a remote, unauthenticated denial-of-service (CWE-415 double-free) in FRRouting bgpd, and the signals are internally consistent rather than conflicting. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) scores 8.2, with impact concentrated entirely in availability (VA:H plus SA:L for downstream routing) and no confidentiality or integrity impact - matching the description, where the only outcome is bgpd aborting and dropping all BGP sessions. The AT:P (attack requirements present) correctly reflects that the attacker must open and close two TCP connections in sequence to drive the first-then-second free; the input does not describe this as a race, and it should not be read as one - two ordinary flaps of legitimate neighbors produce the same result, so the ordering is deterministic, not timing-sensitive. Real-world priority is tempered by a narrow precondition: only routers that combine a 'bgp listen range' with a Site-of-Origin on the SAME peer-group are vulnerable, which is an uncommon configuration. No EPSS score, KEV listing, or PoC was provided; exploitation status is therefore no public exploit identified at time of analysis, and the vuln.today Decision label is 'this_week' (not act_now/emergency). Net: a genuine, easily-triggered DoS against a core routing daemon for the subset of operators running the affected config - patch on a near-term (this-week) cadence - but not a mass-exploitation emergency, and not a confidentiality/integrity risk.

Exploit ScenarioDerived

On a router configured with a BGP listen range whose peer-group also has a SoO set, any host whose address falls inside that range opens and closes two TCP connections to the BGP port (179), sending no BGP messages and without knowing the AS number. The second disconnect frees the shared SoO value a second time, causing bgpd to abort and tear down every BGP session on the router, and the attacker can repeat it after each restart. No public exploit is identified at time of analysis; only a vendor patch reference exists. If the peer-group uses a TCP-MD5 password, only hosts knowing the password can trigger it.

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 13, 2026

Remote unauthenticated denial of service in FRRouting bgpd 8.4 and later, where a double-free during dynamic BGP neighbor teardown aborts the daemon and drops every BGP session on the router. Only routers that combine a 'bgp listen range' with a Site-of-Origin set on the same peer-group via 'neighbor PG soo' are exposed; any host whose address falls inside the listen range can trigger it by opening and closing two TCP connections to port 179 without sending a single BGP message, and two ordinary flaps of legitimate dynamic neighbors produce the same result. The bug is rated high severity for availability (CVSS 8.2), the fix is available from the vendor, and no public exploit code or confirmed active exploitation was identified at time of analysis.

RemediationAI

Update to a vendor-released FRRouting build containing the upstream fix - the patch is available from the vendor and the correcting change is in FRRouting PR #21685 (https://github.com/FRRouting/frr/pull/21685/changes/6a96f515760dc278147fbf802777956ba80c7edd); an exact fixed release version is not specified in the available data, so confirm with the vendor or distribution package before upgrading, and be aware that bgpd restarts are required and will flap BGP sessions. Because the trigger is the shared SoO on a peer-group used by 'bgp listen range', configurations can eliminate exposure by removing 'neighbor PG soo' from any peer-group referenced by a listen range, or by removing the listen range and defining the affected neighbors statically - the trade-off is loss of the Site-of-Origin tagging policy or of dynamic-neighbor provisioning for those peers. Where dynamic neighbors must be kept, configuring a TCP-MD5 password on the peer-group restricts the trigger to hosts that know the password, which sharply reduces the exposed attacker set but does not fix the underlying double-free; still apply the patch. Restricting reachability of TCP port 179 from inside the listen range to trusted prefixes provides additional containment at the cost of blocking legitimate dynamic peering sources.

Affected VersionsENISA

FRRouting 01da2d26911c72023e71579bf4feeb707087ef50 <*

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

BGP Site-of-Origin is an extended-community attribute that FRR stores as an interned attribute structure shared between peers that reference the same value. When dynamic neighbors are created from a 'bgp listen range', each accepted peer is expected to hold its own copy of the peer-group's attributes, but the SoO value is instead shared with the peer-group. On disconnect the dynamic peer is torn down and its attribute is uninterned, releasing memory the peer-group still points at; the next disconnect uninterns the same allocation a second time - a classic double-free (CWE-415) in bgpd's peer cleanup and attribute-unintern paths. The freed memory is also reachable in the interval between the two frees: 'show running-config' and the establishment of a further dynamic neighbor both read it, so a single disconnect can crash the daemon if either occurs. FRR aborts on the heap corruption, taking down all BGP sessions on the device. The upstream fix (PR #21685) touches bgpd/bgp_network.c peer deletion, bgp_attr_unintern call ordering in bgpd/bgp_route.c and bgpd/bgp_fsm.c, and reworks hostname/domainname handling in bgp_open.c and bgp_packet.c to avoid in-place free-then-replace patterns. Affected package identifiers are the frrouting project (cpe:2.3:a:frrouting:frrouting), versions 8.4 and later.

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 8.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L/AU:N/R:A
vuln.today AI 8.6 HIGH

Remote unauthenticated attacker in the listen range triggers a deterministic double-free (AC:L, PR:N) that only impacts availability (A:H); S:C reflects the crash dropping all BGP sessions beyond the attacker's own neighbor.

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

Primary rating from Vendor (NetDEF).

CVSS VectorVendor: NetDEF

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

DescriptionCVE.org

In FRRouting 8.4 and later, bgpd frees the same memory twice when dynamic BGP neighbors disconnect, if the peer-group used by a "bgp listen range" also has a Site-of-Origin configured ("neighbor PG soo"). Each dynamic neighbor shares the peer-group's SoO value instead of getting its own copy, but frees it as its own when the neighbor is deleted, which happens as soon as its connection closes. The first disconnect leaves the peer-group pointing at freed memory, and the second disconnect frees it again, causing bgpd to abort and drop all BGP sessions on the router. Any host whose address falls inside the listen range can trigger this by opening and closing two TCP connections to the BGP port, without sending any BGP message and without knowing the AS number, and can repeat it each time bgpd restarts. If the peer-group has a TCP-MD5 password, only hosts that know the password can trigger it. Two ordinary flaps of legitimate dynamic neighbors have the same effect. Between the two frees, displaying the configuration ("show running-config") or establishing a dynamic neighbor also reads the freed memory, which can crash bgpd after a single disconnect. Only configurations that combine a listen range with a SoO on the same peer-group are affected.

Executive ViewAI

Why It Matters

FRRouting's bgpd daemon (versions 8.4 and later) contains a high-severity double-free vulnerability that can be triggered by an unauthenticated remote attacker, causing the daemon to abort and drop all BGP sessions on affected routers. Only routers configured with both a 'bgp listen range' and a Site-of-Origin set on the same peer-group are exposed. Leadership should care because a successful attack could cause network-wide BGP session loss, disrupting connectivity and business operations.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
FRRouting is a common routing stack in Linux-based network OSes, not universal
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC 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
Partial

Priority Score

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

Attack Technique

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