CVE-2026-120221
published high CVSS 4.0 · 8.2frr: bgpd double free of peer-group Site-of-Origin when dynamic neighbors disconnect
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| frrouting | — | frrouting01da2d26911c72023e71579bf4feeb707087ef50 and later (affected · git); changes: unaffected at 6a96f515760dc278147fbf802777956ba80c7edd · 8.4.0 to < 10.2.7 (affected · semver) · 10.3.0 to < 10.3.5 (affected · semver) · 10.4.0 to < 10.4.6 (affected · semver) · 10.5.0 to < 10.5.6 (affected · semver) · 10.6.0 to < 10.6.3 (affected · semver) · 10.7.0 to < 10.7.2 (affected · semver) · Other versions: unaffected | Version-specific | Not stated | NetDEF |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | frraarch64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | frrppc64le | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | frrs390x | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | frrx86_64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | frr-develaarch64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | frr-develppc64le | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
Show 38 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | frr-devels390x | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | frr-develx86_64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrr0aarch64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrr0ppc64le | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrr0s390x | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrr0x86_64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrr_pb0aarch64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrr_pb0ppc64le | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrr_pb0s390x | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrr_pb0x86_64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrcares0aarch64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrcares0ppc64le | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrcares0s390x | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrcares0x86_64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrfpm_pb0aarch64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrfpm_pb0ppc64le | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrfpm_pb0s390x | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrfpm_pb0x86_64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrospfapiclient0aarch64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrospfapiclient0ppc64le | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrospfapiclient0s390x | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrospfapiclient0x86_64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrsnmp0aarch64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrsnmp0ppc64le | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrsnmp0s390x | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrsnmp0x86_64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrzmq0aarch64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrzmq0ppc64le | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrzmq0s390x | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libfrrzmq0x86_64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmgmt_be_nb0aarch64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmgmt_be_nb0ppc64le | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmgmt_be_nb0s390x | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmgmt_be_nb0x86_64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmlag_pb0aarch64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmlag_pb0ppc64le | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmlag_pb0s390x | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libmlag_pb0x86_64 | Advisory build | 10.6.2-1.1 | OPENSUSE-SU-2026:12637-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- NetDEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| frrouting | frrouting | 01da2d26911c72023e71579bf4feeb707087ef50 and later (affected · git); changes: unaffected at 6a96f515760dc278147fbf802777956ba80c7edd8.4.0 to < 10.2.7 (affected · semver)10.3.0 to < 10.3.5 (affected · semver)10.4.0 to < 10.4.6 (affected · semver)10.5.0 to < 10.5.6 (affected · semver)10.6.0 to < 10.6.3 (affected · semver)10.7.0 to < 10.7.2 (affected · semver)Default: unaffected | NetDEF · cna |
Weaknesses
2- CWE-415 CWE-415 Double Free
- CWE-416 CWE-416 Use After Free: the peer-group's SoO pointer is left dangling after the first dynamic neighbor is deleted and is read by later neighbors and by the configuration writer
References
1Provider assertions
2NetDEF · cna
frr: bgpd double free of peer-group Site-of-Origin when dynamic neighbors disconnect
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- befac51132976db9aef766face030e9ea0fbd7e1ffd518675ed012e53f6c9140
- Ingested
- 17 Nov 2026, 16:09:33 UTC
- Source record
- Official CVE record