Read the docs

Double free in FRRouting bgpd when dynamic BGP neighbors disconnect

Priority LOW 35CWE-415Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-415 and the CVSS impact.

Summary

In FRRouting bgpd, from 8.4.0 before 10.2.7, from 10.3.0 before 10.3.5, from 10.4.0 before 10.4.6, from 10.5.0 before 10.5.6, from 10.6.0 before 10.6.3 and from 10.7.0 before 10.7.2, a peer-group that has a listen range and a SoO frees the shared SoO twice. Dynamic neighbors share that SoO but free it when their connection closes, a double free (CWE-415). A remote host in the listen range triggers it by opening and closing two TCP connections without sending any BGP message, which crashes bgpd and drops all BGP sessions on the router.

Written with Claude Haiku 5.5 from the sources below · 2026-11-14

Description from the CNA

In FRRouting, 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.

Why it matters now

EPSS 0.00276 20th percentileScored 2026-11-16
Fix Fixed frrouting (frrouting): 10.2.7, 10.3.5, 10.4.6 +3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
FRRoutingfrrouting8.4.0 to before 10.2.7; 10.3.0 to before 10.3.5; 10.4.0 to before 10.4.6; 10.5.0 to before 10.5.6; 10.6.0 to before 10.6.3; 10.7.0 to before 10.7.210.2.7, 10.3.5, 10.4.6, 10.5.6, 10.6.3, 10.7.2Patch availableCNA
  • frrouting VendorFRRouting Affected 8.4.0 to before 10.2.7; 10.3.0 to before 10.3.5; 10.4.0 to before 10.4.6; 10.5.0 to before 10.5.6; 10.6.0 to before 10.6.3; 10.7.0 to before 10.7.2 Fixed in 10.2.7, 10.3.5, 10.4.6, 10.5.6, 10.6.3, 10.7.2 Patch available CNA

Remediation

Upgrade FRRouting to a fixed version: 10.2.7, 10.3.5, 10.4.6, 10.5.6, 10.6.3 or 10.7.2, depending on the release branch in use.

Written with Claude Haiku 5.5 from the sources below · 2026-11-14

  • Fix · CNA frrouting (frrouting) Fixed in 10.2.7, 10.3.5, 10.4.6, 10.5.6, 10.6.3, 10.7.2

Timeline

  1. 2026-11-13 Threatist record created from CVE-2026-120221
  2. 2026-11-13 Alias added: GHSA-j25q-23f5-6558
  3. 2026-11-14 Fix available: frrouting/[email protected], frrouting/[email protected], frrouting/[email protected] +3 · CNA

References

  • TI-2023-20107 FRRouting FRR 7.5.1 through 9.0 and Pica8 PICOS 4.3.3.2 allow a remote attacker to cause… CVSS 3.1HIGH 7.5
  • TI-2023-21958 An issue was discovered in FRRouting FRR 9.0. CVSS 3.1CRITICAL 9.8
  • TI-2024-29658 An issue was discovered in FRRouting (FRR) through 10.1. CVSS 3.1CRITICAL 9.8
  • TI-2023-21957 An issue was discovered in FRRouting FRR through 9.0. CVSS 3.1CRITICAL 9.1
  • TI-2023-19790 bgpd/bgp_flowspec.c in FRRouting (FRR) before 8.4.3 mishandles an nlri length of zero, aka a "flowspec overflow." CVSS 3.1CRITICAL 9.8
  • TI-2022-17234 An out-of-bounds read in the BGP daemon of FRRouting FRR before 8.4 may lead to a… CVSS 3.1CRITICAL 9.1
See all 53 →

Sources