Skip to content
RedCVE

CVE-2026-120221Frrouting double free

FRRoutingPublished:

CVSS score

8.2

High

CVSS 4.0 from 57a55968-44ac-464c-a794-6ba3baad09c4

Exploit probability (EPSS)

0.36%

0.36% chance of exploitation in the next 30 days, higher than 30.4% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: 57a55968-44ac-464c-a794-6ba3baad09c4

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Frrouting and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Frrouting to 10.2.7, 10.3.5, 10.4.6, 10.5.6 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:N/R:A/V:X/RE:X/U:X

Affected products

Affected productsVersions
FRRouting Frrouting01da2d26911c72023e71579bf4feeb707087ef50 · ≥ 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

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-120221 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-120221?

CVE-2026-120221 has a CVSS 4.0 base score of 8.2 (high).

Which versions are affected?

Frrouting 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)

Is there a patch for CVE-2026-120221?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.