A security flaw has been discovered in osrg GoBGP up to 4.3.0. This affects the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go of the component BGP OPEN Message Handler. Performing a manipulation of the argument domainNameLen results in improper access controls. The attack may be initiated remotely. A high degree of complexity is needed for the attack. The exploitability is reported as difficult. The patch is named 2b09db390a3d455808363c53e409afe6b1b86d2d. It is suggested to install a patch to address this issue.
{
"cwe_ids": [
"CWE-266",
"CWE-284"
],
"cna_assigner": "VulDB",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5122.json",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "4.0"
},
{
"last_affected": "4.0"
},
{
"introduced": "4.1"
},
{
"last_affected": "4.1"
},
{
"introduced": "4.2"
},
{
"last_affected": "4.2"
},
{
"introduced": "4.3.0"
},
{
"last_affected": "4.3.0"
}
]
}
]
}