Skip to content
FlawDB
Sign in

CVE-2026-120221

HIGH 8.2EPSS 29%

frr: bgpd double free of peer-group Site-of-Origin when dynamic neighbors disconnect

Mitigation

  • Upgrade frrouting to 10.7.2 or later.
  • Vendor workaround: Do not configure "neighbor <peer-group> soo" on a peer-group used by "bgp listen range". Instead, set the SoO extended community with an inbound route-map, or set "neighbor soo" on statically configured neighbors. Configuring a TCP-MD5 "password" on the peer-group limits the trigger to hosts that know the key.

Who should check

  • Anyone running frrouting >= 01da2d26911c72023e71579bf4feeb707087ef50, < *; >= 8.4.0, < 10.2.7; >= 10.3.0, < 10.3.5; >= 10.4.0, < 10.4.6; >= 10.5.0, < 10.5.6; >= 10.6.0, < 10.6.3; >= 10.7.0, < 10.7.2

Vulnerability facts

Affected
frrouting >= 01da2d26911c72023e71579bf4feeb707087ef50, < *; >= 8.4.0, < 10.2.7; >= 10.3.0, < 10.3.5; >= 10.4.0, < 10.4.6; >= 10.5.0, < 10.5.6; >= 10.6.0, < 10.6.3; >= 10.7.0, < 10.7.2
Fixed in
frrouting 10.2.7, frrouting 10.3.5, frrouting 10.4.6, frrouting 10.5.6, frrouting 10.6.3, frrouting 10.7.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.2 (v4.0, CNA)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:AOpen in CVSS calculator
Show all 13 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: Low
  • AU: N
  • R: A
EPSS
0.43% chance of exploitation in 30 days (percentile 29, 2026-11-28)
CWE
CWE-415, CWE-416
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
frrouting>= 01da2d26911c72023e71579bf4feeb707087ef50, < *; >= 8.4.0, < 10.2.7; >= 10.3.0, < 10.3.5; >= 10.4.0, < 10.4.6; >= 10.5.0, < 10.5.6; >= 10.6.0, < 10.6.3; >= 10.7.0, < 10.7.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-120221. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-120221.md
Affected: frrouting >= 01da2d26911c72023e71579bf4feeb707087ef50, < *; >= 8.4.0, < 10.2.7; >= 10.3.0, < 10.3.5; >= 10.4.0, < 10.4.6; >= 10.5.0, < 10.5.6; >= 10.6.0, < 10.6.3; >= 10.7.0, < 10.7.2
Fixed in: frrouting 10.2.7, frrouting 10.3.5, frrouting 10.4.6, frrouting 10.5.6, frrouting 10.6.3, frrouting 10.7.2

Steps:
1. Search this machine and project for frrouting: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-120221 being exploited?

There is no confirmed exploitation: CVE-2026-120221 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-28).

How serious is CVE-2026-120221?

High: CVSS 8.2 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-120221?

frrouting >= 01da2d26911c72023e71579bf4feeb707087ef50, < *; >= 8.4.0, < 10.2.7; >= 10.3.0, < 10.3.5; >= 10.4.0, < 10.4.6; >= 10.5.0, < 10.5.6; >= 10.6.0, < 10.6.3; >= 10.7.0, < 10.7.2.

Is there a fix for CVE-2026-120221?

Yes. Fixed in frrouting 10.2.7, frrouting 10.3.5, frrouting 10.4.6, frrouting 10.5.6, frrouting 10.6.3, frrouting 10.7.2. Upgrade frrouting to 10.7.2 or later. Vendor workaround: Do not configure "neighbor <peer-group> soo" on a peer-group used by "bgp listen range". Instead, set the SoO extended community with an inbound route-map, or set "neighbor soo" on statically configured neighbors. Configuring a TCP-MD5 "password" on the peer-group limits the trigger to hosts that know the key.

How do I check if I'm affected by CVE-2026-120221?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
HIGH 7.7CVE-2026-129456

frr: bgpd use-after-free of Tunnel Encapsulation sub-TLVs via the attribute intern reuse cache with soft-reconfiguration inbound

frrouting
EPSS 31%
MEDIUM 6.0CVE-2026-129217

bgpd: out-of-bounds heap read and crash on NOTIFICATION Cease/Hard Reset with one data byte

FRRouting
EPSS 28%
MEDIUM 6.0CVE-2026-120033

frr: bgpd Send Hold Timer expiry bypasses the FSM, leaving a phantom Established session or crashing bgpd with Graceful Restart

frrouting
EPSS 24%
Sponsors