CVE-2026-120221 (GCVE-0-2026-120221)
Vulnerability from cvelistv5 – Published: 2026-11-13 11:54 – Updated: 2026-11-14 14:55
VLAI
EPSS
VEX
Title
frr: bgpd double free of peer-group Site-of-Origin when dynamic neighbors disconnect
Summary
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.
Severity
CWE
References
1 reference
| URL | Tags |
|---|---|
| https://github.com/FRRouting/frr/pull/21685/chang… | patch |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| frrouting | frrouting |
Affected:
01da2d26911c72023e71579bf4feeb707087ef50 , < *
(git)
Affected: 8.4.0 , < 10.2.7 (semver) Affected: 10.3.0 , < 10.3.5 (semver) Affected: 10.4.0 , < 10.4.6 (semver) Affected: 10.5.0 , < 10.5.6 (semver) Affected: 10.6.0 , < 10.6.3 (semver) Affected: 10.7.0 , < 10.7.2 (semver) cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:* cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:* cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:* cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:* cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:* cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:* |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"modules": [
"bgpd"
],
"product": "frrouting",
"programFiles": [
"bgpd/bgpd.c"
],
"programRoutines": [
{
"name": "peer_group2peer_config_copy_af"
},
{
"name": "peer_delete"
}
],
"repo": "https://github.com/FRRouting/frr/",
"vendor": "frrouting",
"versions": [
{
"changes": [
{
"at": "6a96f515760dc278147fbf802777956ba80c7edd",
"status": "unaffected"
}
],
"lessThan": "*",
"status": "affected",
"version": "01da2d26911c72023e71579bf4feeb707087ef50",
"versionType": "git"
},
{
"lessThan": "10.2.7",
"status": "affected",
"version": "8.4.0",
"versionType": "semver"
},
{
"lessThan": "10.3.5",
"status": "affected",
"version": "10.3.0",
"versionType": "semver"
},
{
"lessThan": "10.4.6",
"status": "affected",
"version": "10.4.0",
"versionType": "semver"
},
{
"lessThan": "10.5.6",
"status": "affected",
"version": "10.5.0",
"versionType": "semver"
},
{
"lessThan": "10.6.3",
"status": "affected",
"version": "10.6.0",
"versionType": "semver"
},
{
"lessThan": "10.7.2",
"status": "affected",
"version": "10.7.0",
"versionType": "semver"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:*",
"versionEndExcluding": "10.2.7",
"versionStartIncluding": "8.4.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:*",
"versionEndExcluding": "10.3.5",
"versionStartIncluding": "10.3.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:*",
"versionEndExcluding": "10.4.6",
"versionStartIncluding": "10.4.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:*",
"versionEndExcluding": "10.5.6",
"versionStartIncluding": "10.5.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:*",
"versionEndExcluding": "10.6.3",
"versionStartIncluding": "10.6.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:*",
"versionEndExcluding": "10.7.2",
"versionStartIncluding": "10.7.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
}
],
"credits": [
{
"lang": "en",
"type": "reporter",
"value": "Nageswara Soma \u003cnsoma@cisco.com\u003e (not reported as security issue)"
},
{
"lang": "en",
"type": "tool",
"value": "Anthropic OSS-scanner (re-report, ANT-2026-X4QI9LP4)"
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NO",
"Recovery": "AUTOMATIC",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 8.2,
"baseSeverity": "HIGH",
"exploitMaturity": "NOT_DEFINED",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "LOW",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-415",
"description": "CWE-415 Double Free",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-416",
"description": "CWE-416 Use After Free: the peer-group\u0027s SoO pointer is left dangling after the first dynamic neighbor is deleted and is read by later neighbors and by the configuration writer",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-14T14:55:45.546Z",
"orgId": "57a55968-44ac-464c-a794-6ba3baad09c4",
"shortName": "NetDEF"
},
"references": [
{
"tags": [
"patch"
],
"url": "https://github.com/FRRouting/frr/pull/21685/changes/6a96f515760dc278147fbf802777956ba80c7edd"
}
],
"source": {
"discovery": "UNKNOWN"
},
"title": "frr: bgpd double free of peer-group Site-of-Origin when dynamic neighbors disconnect",
"workarounds": [
{
"lang": "en",
"value": "Do not configure \"neighbor \u003cpeer-group\u003e 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."
}
],
"x_generator": {
"engine": "vim"
}
}
},
"cveMetadata": {
"assignerOrgId": "57a55968-44ac-464c-a794-6ba3baad09c4",
"assignerShortName": "NetDEF",
"cveId": "CVE-2026-120221",
"datePublished": "2026-11-13T11:54:24.035Z",
"dateReserved": "2026-10-31T18:17:02.102Z",
"dateUpdated": "2026-11-14T14:55:45.546Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-120221",
"date": "2026-11-16",
"epss": "0.00276",
"percentile": "0.20267"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"modules": [
"bgpd"
],
"product": "frrouting",
"programFiles": [
"bgpd/bgpd.c"
],
"programRoutines": [
{
"name": "peer_group2peer_config_copy_af"
},
{
"name": "peer_delete"
}
],
"repo": "https://github.com/FRRouting/frr/",
"vendor": "frrouting",
"versions": [
{
"changes": [
{
"at": "6a96f515760dc278147fbf802777956ba80c7edd",
"status": "unaffected"
}
],
"lessThan": "*",
"status": "affected",
"version": "01da2d26911c72023e71579bf4feeb707087ef50",
"versionType": "git"
},
{
"lessThan": "10.2.7",
"status": "affected",
"version": "8.4.0",
"versionType": "semver"
},
{
"lessThan": "10.3.5",
"status": "affected",
"version": "10.3.0",
"versionType": "semver"
},
{
"lessThan": "10.4.6",
"status": "affected",
"version": "10.4.0",
"versionType": "semver"
},
{
"lessThan": "10.5.6",
"status": "affected",
"version": "10.5.0",
"versionType": "semver"
},
{
"lessThan": "10.6.3",
"status": "affected",
"version": "10.6.0",
"versionType": "semver"
},
{
"lessThan": "10.7.2",
"status": "affected",
"version": "10.7.0",
"versionType": "semver"
}
]
}
],
"source": "57a55968-44ac-464c-a794-6ba3baad09c4"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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": "CVE-2026-120221",
"lastModified": "2026-11-14T15:16:58.130",
"metrics": {
"cvssMetricV40": [
{
"cvssData": {
"Automatable": "NO",
"Recovery": "AUTOMATIC",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"availabilityRequirement": "NOT_DEFINED",
"baseScore": 8.2,
"baseSeverity": "HIGH",
"confidentialityRequirement": "NOT_DEFINED",
"exploitMaturity": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "LOW",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"source": "57a55968-44ac-464c-a794-6ba3baad09c4",
"type": "Secondary"
}
]
},
"published": "2026-11-13T12:17:03.210",
"references": [
{
"source": "57a55968-44ac-464c-a794-6ba3baad09c4",
"url": "https://github.com/FRRouting/frr/pull/21685/changes/6a96f515760dc278147fbf802777956ba80c7edd"
}
],
"sourceIdentifier": "57a55968-44ac-464c-a794-6ba3baad09c4",
"vulnStatus": "Received",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-415"
},
{
"lang": "en",
"value": "CWE-416"
}
],
"source": "57a55968-44ac-464c-a794-6ba3baad09c4",
"type": "Secondary"
}
]
}
},
"suse_vex": {
"aggregate_severity": "important",
"current_release_date": "2026-11-14T17:24:23Z",
"cve": "CVE-2026-120221",
"id": "CVE-2026-120221",
"initial_release_date": "2026-11-13T17:39:16Z",
"product_status:known_affected": "198",
"product_status:known_not_affected": "312",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2026-120221",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-120221.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
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.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
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.
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.
Loading…
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.
Loading…