UBUNTU-CVE-2026-120221 (CVE-2026-120221)
Vulnerability from osv_ubuntu – Published: 2026-11-16 00:00 – Updated: 2026-11-16 00:00 – Source websiteIn 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": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "quagga",
"binary_version": "0.99.24.1-2ubuntu1.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "quagga",
"purl": "pkg:deb/ubuntu/quagga@0.99.24.1-2ubuntu1.4+esm1?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.99.24.1-2",
"0.99.24.1-2ubuntu1",
"0.99.24.1-2ubuntu1.1",
"0.99.24.1-2ubuntu1.2",
"0.99.24.1-2ubuntu1.3",
"0.99.24.1-2ubuntu1.4",
"0.99.24.1-2ubuntu1.4+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "quagga",
"binary_version": "1.2.4-1ubuntu0.1~esm2"
},
{
"binary_name": "quagga-bgpd",
"binary_version": "1.2.4-1ubuntu0.1~esm2"
},
{
"binary_name": "quagga-core",
"binary_version": "1.2.4-1ubuntu0.1~esm2"
},
{
"binary_name": "quagga-isisd",
"binary_version": "1.2.4-1ubuntu0.1~esm2"
},
{
"binary_name": "quagga-ospf6d",
"binary_version": "1.2.4-1ubuntu0.1~esm2"
},
{
"binary_name": "quagga-ospfd",
"binary_version": "1.2.4-1ubuntu0.1~esm2"
},
{
"binary_name": "quagga-pimd",
"binary_version": "1.2.4-1ubuntu0.1~esm2"
},
{
"binary_name": "quagga-ripd",
"binary_version": "1.2.4-1ubuntu0.1~esm2"
},
{
"binary_name": "quagga-ripngd",
"binary_version": "1.2.4-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "quagga",
"purl": "pkg:deb/ubuntu/quagga@1.2.4-1ubuntu0.1~esm2?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.1.1-3",
"1.1.1-3ubuntu1",
"1.2.2-1",
"1.2.2-1ubuntu1",
"1.2.4-1",
"1.2.4-1ubuntu0.1~esm1",
"1.2.4-1ubuntu0.1~esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "quagga",
"binary_version": "1.2.4-4ubuntu0.5"
},
{
"binary_name": "quagga-bgpd",
"binary_version": "1.2.4-4ubuntu0.5"
},
{
"binary_name": "quagga-core",
"binary_version": "1.2.4-4ubuntu0.5"
},
{
"binary_name": "quagga-isisd",
"binary_version": "1.2.4-4ubuntu0.5"
},
{
"binary_name": "quagga-ospf6d",
"binary_version": "1.2.4-4ubuntu0.5"
},
{
"binary_name": "quagga-ospfd",
"binary_version": "1.2.4-4ubuntu0.5"
},
{
"binary_name": "quagga-pimd",
"binary_version": "1.2.4-4ubuntu0.5"
},
{
"binary_name": "quagga-ripd",
"binary_version": "1.2.4-4ubuntu0.5"
},
{
"binary_name": "quagga-ripngd",
"binary_version": "1.2.4-4ubuntu0.5"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "quagga",
"purl": "pkg:deb/ubuntu/quagga@1.2.4-4ubuntu0.5?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.4-4build1",
"1.2.4-4ubuntu0.1",
"1.2.4-4ubuntu0.4",
"1.2.4-4ubuntu0.5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "frr",
"binary_version": "7.2.1-1ubuntu0.2+esm5"
},
{
"binary_name": "frr-pythontools",
"binary_version": "7.2.1-1ubuntu0.2+esm5"
},
{
"binary_name": "frr-rpki-rtrlib",
"binary_version": "7.2.1-1ubuntu0.2+esm5"
},
{
"binary_name": "frr-snmp",
"binary_version": "7.2.1-1ubuntu0.2+esm5"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "frr",
"purl": "pkg:deb/ubuntu/frr@7.2.1-1ubuntu0.2+esm5?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.0.2-2build2",
"7.2-1ubuntu1",
"7.2-1ubuntu2",
"7.2.1-1",
"7.2.1-1ubuntu0.1",
"7.2.1-1ubuntu0.2",
"7.2.1-1ubuntu0.2+esm1",
"7.2.1-1ubuntu0.2+esm2",
"7.2.1-1ubuntu0.2+esm3",
"7.2.1-1ubuntu0.2+esm4",
"7.2.1-1ubuntu0.2+esm5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "frr",
"binary_version": "8.1-1ubuntu1.17"
},
{
"binary_name": "frr-pythontools",
"binary_version": "8.1-1ubuntu1.17"
},
{
"binary_name": "frr-rpki-rtrlib",
"binary_version": "8.1-1ubuntu1.17"
},
{
"binary_name": "frr-snmp",
"binary_version": "8.1-1ubuntu1.17"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "frr",
"purl": "pkg:deb/ubuntu/frr@8.1-1ubuntu1.17?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.5.1-1.1",
"8.1-1",
"8.1-1ubuntu1",
"8.1-1ubuntu1.1",
"8.1-1ubuntu1.2",
"8.1-1ubuntu1.3",
"8.1-1ubuntu1.4",
"8.1-1ubuntu1.5",
"8.1-1ubuntu1.6",
"8.1-1ubuntu1.7",
"8.1-1ubuntu1.8",
"8.1-1ubuntu1.9",
"8.1-1ubuntu1.10",
"8.1-1ubuntu1.11",
"8.1-1ubuntu1.13",
"8.1-1ubuntu1.14",
"8.1-1ubuntu1.15",
"8.1-1ubuntu1.16",
"8.1-1ubuntu1.17"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "frr",
"binary_version": "8.4.4-1.1ubuntu6.8"
},
{
"binary_name": "frr-pythontools",
"binary_version": "8.4.4-1.1ubuntu6.8"
},
{
"binary_name": "frr-rpki-rtrlib",
"binary_version": "8.4.4-1.1ubuntu6.8"
},
{
"binary_name": "frr-snmp",
"binary_version": "8.4.4-1.1ubuntu6.8"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "frr",
"purl": "pkg:deb/ubuntu/frr@8.4.4-1.1ubuntu6.8?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.4.4-1.1ubuntu1",
"8.4.4-1.1ubuntu3",
"8.4.4-1.1ubuntu4",
"8.4.4-1.1ubuntu5",
"8.4.4-1.1ubuntu6",
"8.4.4-1.1ubuntu6.1",
"8.4.4-1.1ubuntu6.2",
"8.4.4-1.1ubuntu6.3",
"8.4.4-1.1ubuntu6.4",
"8.4.4-1.1ubuntu6.5",
"8.4.4-1.1ubuntu6.6",
"8.4.4-1.1ubuntu6.7",
"8.4.4-1.1ubuntu6.8"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "frr",
"binary_version": "10.7.1-3ubuntu1"
},
{
"binary_name": "frr-pythontools",
"binary_version": "10.7.1-3ubuntu1"
},
{
"binary_name": "frr-rpki-rtrlib",
"binary_version": "10.7.1-3ubuntu1"
},
{
"binary_name": "frr-snmp",
"binary_version": "10.7.1-3ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.10",
"name": "frr",
"purl": "pkg:deb/ubuntu/frr@10.7.1-3ubuntu1?arch=source\u0026distro=stonking"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"10.5.1-1ubuntu4",
"10.5.1-1ubuntu5",
"10.5.1-1ubuntu6",
"10.7.0-2ubuntu1",
"10.7.1-1ubuntu1",
"10.7.1-3ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "frr",
"binary_version": "10.5.1-1ubuntu4.1"
},
{
"binary_name": "frr-pythontools",
"binary_version": "10.5.1-1ubuntu4.1"
},
{
"binary_name": "frr-rpki-rtrlib",
"binary_version": "10.5.1-1ubuntu4.1"
},
{
"binary_name": "frr-snmp",
"binary_version": "10.5.1-1ubuntu4.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "frr",
"purl": "pkg:deb/ubuntu/frr@10.5.1-1ubuntu4.1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"10.4.1-3ubuntu1",
"10.4.1-3ubuntu2",
"10.5.1-1ubuntu1",
"10.5.1-1ubuntu2",
"10.5.1-1ubuntu3",
"10.5.1-1ubuntu4",
"10.5.1-1ubuntu4.1"
]
}
],
"aliases": [],
"details": "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\u0027s 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.",
"id": "UBUNTU-CVE-2026-120221",
"modified": "2026-11-16T00:00:00Z",
"published": "2026-11-16T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-120221"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-120221"
},
{
"type": "REPORT",
"url": "https://github.com/FRRouting/frr/pull/21685"
},
{
"type": "REPORT",
"url": "https://github.com/FRRouting/frr/pull/21685/changes/6a96f515760dc278147fbf802777956ba80c7edd"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-120221"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.